Download email attachments send from iphone

Hi,

I’m trying to download attachments in gmail which is send from iphone. Uipath is not recognizing those attachments. Is there any possibility to use python activity in uipath and download attachments? If yes, how can I do that? Can anyone help me on this please?

Thanks in advance!

Regards,
Renju

We can use GET IMAP MAIL ACTIVITY to fetch the mail from gmail
Did we try using that activity to get those mails

https://docs.uipath.com/activities/docs/get-imap-mail-messages

Cheers @renjutom

Hi,

Yes. I’ve tried with that activity. But, it is not fetching the attachments send from iphone. It recognizes the attachments send from other platforms like windows, android etc.

Regards,
Renju

Hmm
Fine
Let’s validate that
Once after getting the list of mail messages from that activity use a for each activity and pass that list variable as input and change the type argument as system.net.mail.mailmessage in the property panel
-next inside the loop use a IF condition like this
item.Attachments.Any
If true it will get into THEN part where we can keep our process to be performed if attachment is there or it will go to ELSE part where we can leave it black

Cheers @renjutom

Hi @Palaniyappan,

Thanks for the suggestion!

I’ve done this method to read get the attachments. I have used Get IMAP Mail Message Activity to read each mail and used for each activity and save attachments activity to save each attachments. It is ignoring the attachments send from iphone.

Regards,
Renju