Hi,
I am trying to save Outlook attachment, however getting error while saving “Save Email Attachments: The provided MailMessage does not reference a known email service.”
Made sure the MailMessage is of type System.Net.Mail.MailMessage.
Below is the Sequence
Hi @Swati_Pekam ,
Kindly follow the steps mentioned in below thread, should help you:
Hello, I am using the activity get Outlook email messages, I am sending it to a foreach where I want to save these in a specific folder through the activity save attachments. But I have this error in the save attachmetns mail activity: Save email attachments: The provided MailMessage does not reference a known email service.
[Captura de pantalla (24)]
I have attached the error flow.
Regards
Sonali
@Swati_Pekam ,
Try as mentioned in this post.
Anil_G
(Anil Gorthi)
January 28, 2025, 5:28am
4
@Swati_Pekam
Welcome to the community
Now the mistake you are doing is using use desktop app scope and then use get outlook mail messages activity
You dont need both…you need only one of them
If you are using scope remove the get outlook mail message and directly use for each email activity…and then save email attachments would work
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Else remove the scope and then use save outlook mail message activity
The UiPath Documentation Portal - the home of all our valuable information. Find here everything you need to guide you in your automation journey in the UiPath ecosystem, from complex installation guides to quick tutorials, to practical business...
Because of wrong combination of activities you are seeing an issue
Thanks this helped fix the issue
@Swati_Pekam ,
Glad to hear that. Kindly close the thread by marking my answer as solution so it will be helpful to other members as well.
system
(system)
Closed
January 31, 2025, 4:12pm
7
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.