Unable to download email attachments send from iphone

Hi,

I’m trying to download email attachment send from iphone using UiPath. I’m unable to download it. I’m using get imap messages and save attachments activity to perform this task. I’m able to download attachments send from windows machine and android mobile. How can I download attachments send from iphone. Can anyone help me on this please?

Thanks in advance!

Regards,
Renju

Hi @renjutom,
Just to get more information. Please try to check email attachments counter to see if it’s see the attachments at all. Use item.Attachments.Count.ToString to get it:

Hi Pablito,

Thanks for your response!

I’ve used counter to check it’s see email attachments. The counter is incrementing for email with attachments send from android or windows machine. But the counter is not incrementing for the mail attachments send from iphone.

Regards,
Renju

Hmm that’s interesting. Other thing what I have in mind is to check email structure between those which are working to this from iPhone. We need to be 100% sure that it’s not the iPhone which do the mess here if we want to consider this as a potential bug.

If you are using Outlook or Gmail you can save mails as a file. Chose the same file type for those mails and try to compare the structure by opening those files in notepad for example.

Hi,

Thanks for your reply!

I’ve saved the mails as a text file. Please find the attached mails received from android and iphone in .txt format. mail.zip (2.6 MB)

Regards,
Renju

Yup, seems that definitely something is wrong with iPhone mail. I’ve compared those two files:


On the left you can clearly see the attachment name and the structure which is probably coded jpg file. On the right you have mail from iPhone where there is nothing about it. Another thing is the file size:
image
I think you know which one comes from the iPhone :wink:

EDIT:
I think than mail app from iPhone is doing something wrong. You can try maybe to install GMail app on iPhone and try to send mail from there :slight_smile:

1 Like

Hi Pablito,

Thanks for your help!

But I’m implementing this demo for one of our customer to make them introduce of this uipath tool. So, they might receive this attachment from outside people. So, I think it’s better to find a solution for this issue.

Regards,
Renju

Of course this case is also being checked by us internally. Anyway at the moment it seems that Apple gives to the users another “feature” :smiley:

Hi Pablito,

Thanks for your update!

So can you please suggest a solution for this issue at the moment. How we can download email attachments send from iphone?

Regards,
Renju

As you saw at the moment it seems that iPhone is not including those attachments in normal way, so only thing what I can suggest is to try to send mails from iPhone using 3rd party apps not the default one.