Save Attached files from my outlook in local folder

email
outlook
activities

#1

I’m trying to save the attached files using that i have found in another topic but i still having an error.

Can you help me to fix it?

Thanks!


#2

It should be List of MailMessage


#3

hi @sdelvalcisneros

please go through with this attached solution sample.

test.xaml (5.9 KB)

Regards…!!
Aksh


Save Attached files from my outlook
If mail contains Zip Attachment or not
#4

Hi,

But now it says the following message:


and i have write “Inbox”, and “Inbox” is an existing folder on my Outlook.


#5

Please check Folder name. It is case sensitive.


#6

The folder Inbox exists in my outlook.
And i’m writting that in the program:

I don’t know what cna be hapenning.


#7

Not exactly sure but…

  1. Outlook and Robot are on the same machine?
  2. Try just with the name (without @ es.sy.com part)

#8

I’m sure that the UIpath is arriving to my outlook but when we open it, it cannot find my Inbox folder :S i don’t know what can be happening, maybe it’s something about my company security.

Thanks!


#9

Have you passed inbox in properties? If outlook has been setup on your local system then please make that Mailbox property blank and then run it.

Regards…!!
Aksh


#10

thanks all, it finally worked! it was something about security i imagine… when i do it from my workplace everything works, when i’m working in the client office it doesn’t.


#11

Outlook has a security feature that prevents programs from interacting with it which may be blocking UiPath from picking up/sending emails. There is a setting in Outlook which controls this (see screens shot). However, you client may not be comfortable turning this on.

If you google you may find alternative workarounds.


#12

there’s no way…

It doesn’t recognise any attach document and i don’t know why.

The conection with my outlook is correct but it doesn’t find any attached document and the e-mail that it read has an attach document


#13

i show my log:
17:28:01.5199 Info {“message”:“Downloads execution started”,“level”:“Information”,“timeStamp”:“2017-03-15T17:28:01.4848979+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”}
17:28:03.0940 Trace {“message”:“Please participate: Customer Support Survey”,“level”:“Verbose”,“timeStamp”:“2017-03-15T17:28:03.0940588+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”}
17:28:03.0940 Trace {“message”:"==============================43",“level”:“Verbose”,“timeStamp”:“2017-03-15T17:28:03.096059+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”}
17:28:03.0940 Trace {“message”:"= ATACH NUMBER = 0",“level”:“Verbose”,“timeStamp”:“2017-03-15T17:28:03.0980592+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”}
17:28:03.1050 Trace {“message”:“FW: Reuniones CRM”,“level”:“Verbose”,“timeStamp”:“2017-03-15T17:28:03.1050599+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”}
17:28:03.1050 Trace {“message”:"==============================17",“level”:“Verbose”,“timeStamp”:“2017-03-15T17:28:03.10606+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”}
17:28:03.1050 Trace {“message”:"= ATACH NUMBER = 0",“level”:“Verbose”,“timeStamp”:“2017-03-15T17:28:03.1070601+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”}
17:28:03.1050 Info {“message”:“Downloads execution ended”,“level”:“Information”,“timeStamp”:“2017-03-15T17:28:03.1120606+01:00”,“windowsIdentity”:“EURS\Sergio.DelvalJimenez”,“agentSessionId”:“00000000-0000-0000-0000-000000000000”,“processName”:“Downloads”,“fileName”:“OutlookSample_v2 (1)”,“jobId”:“9171592c-8160-4d27-9036-a96a1439756f”,“totalExecutionTimeInSeconds”:1,“totalExecutionTime”:“00:00:01”}


#14

Will you be able to share your code/screenshot?

I hope you are using Save Attachment activity


#15

From the main:


#16

Sidenote:
If you have only one outlook account and it has been setup then you don’t have to need to pass the email-id into “Account” Property and by default it will take “Inbox” folder into consideration, you can pass folder name only when you have other folders exists.

The save attachment activity should work, as you said you can use it in your home network so may be network restriction or rule is their very less chance but still.

So, you can try this post as well and let me know :slight_smile:

Regards…!!
Aksh


#17

HELLO GUYS,

i am new at UiPath and i am trying to learn different processes that i am doing manually on my pc.
I am getting everyday a specific mail from a friend and this email contains a scanned pdf which should be downloaded and saved with an new name, Then i am extracting different Information of this pdf and put this Information in a Excel table.
I could do the email Automation, downloading the specific scanned pdf and save it, but NOT with a new name - i don´t know how this can be done. In the next step “read PDF with OCR” does not function, so i try the Recording and use a converting Software which can convert more scanned PDF to Excel.

Can anybody help me please. Just Show me how i rename or give a attached file a new file and convert it into Excel or Word. !!!

Thanks a Lot :slightly_smiling_face:
CHEERS


#18

Easy way to do this is just save it in a temp folder and then use the move or copy file activities and rename the file as you’re moving or copying it.

Just remember to delete the temp file in the temp folder if it’s still there.

RD


#19

Hi all,

I am saving the attachments to local folder from mail.Can I Insert the attachments to sql server? @aksh1yadav @ddpadil

Thanks in advance


#20

Hi,

@aksh1yadav I admired your work regarding the process of saving attachments in a specified folder. I’m trying to save the Mail Messages however an Unauthorized Exception error occurred, do you have any idea on how can this be done?