Hi,
I want to save an outlook mail message inside a separate folder(not outlook folder) in my desktop. Could anyone please help advise how to achieve same.
Thanks
Hi,
I want to save an outlook mail message inside a separate folder(not outlook folder) in my desktop. Could anyone please help advise how to achieve same.
Thanks
Hi Kapil,
Use save mail message activity.
In this activity you can see file path section, give the path where you want to save.
That’s all…
Thanks
Hi Kapil,
1.For getting the outlook mails you can use “Get outlook mail messages”
2. In “For Each” activity iterate the mail messages list.
3. Inorder to save the mail messages uniquely, you can take the subject of the mail by Assign Subject = item.Subject
4. For saving the mail messages use “Save Mail Message” activity
5. In that, mention Item in the mail message dialog and the file path where you want the mails to be stored in the file path dialog
ie… “C:\path\”+Subject+“.eml”
That’s it, Run the code. you can find the list of mails which has been retrived.
Thanks.
Thanks Sravan and Uthraa! You saved me lot of research and time:)
@Uthraa Hi I tried like u said but i am getting error.
“C:\Users\ravi\Desktop\mail"+item.Subject+”.eml" i even tried with .msg extension i am getting below error.
can u look into it
Hi,
In the path you have mentioned “Desktop\mail”. Is mail is a separate folder name or you want keep that as a file name ?
then the path should be “C:\Users\ravi\Desktop\mail\”+item.Subject+”.eml"
Add a snapshot and show me the error. Add snap of the error and the path. Thanks
Hi,
It is working perfectly for me . Have a look at my code
saveMail.xaml (7.2 KB)
and refer the ouput
@Manjuts90 I wonder why it is not working for you ! The workflow works fine for me !
Give a look at the below code This might help you . Do let me know if you again face this problem.
Thank you.
saveMail.xaml (7.8 KB)