How to send on behalf emails using Send Exchange Mail Message Activity?

Hi All,

I want robot can send email on behalf of other person email ID.
I want to use send exchange mail message activity.

Please help.
Thanks.

1 Like

Buddy @ronak

Welcome to UiPath community buddy
yes buddy you can send a mail from UiPath on behalf of a person with send exchange mail message activity by mentioning the properties with details in the send exchange mail activity buddy
here



For more details buddy @ronak
you can have a look at this buddy
1.

2.

Hope this would help you buddy
Kindly try this and let know buddy
Cheers @ronak

Thanks for your quick response.
Its not working saying “No Server Address Provided”

image

buddy @ronak
may i have a screenshot of your send exchange mail message activity PROPERTY…if possible
Cheers @ronak

Please find screenshot below.

1 Like

buddy you need to mention the server name of you email buddy in the server property under connections and may i know to which mail you are sending the mail, like gmail or outlook or anyother mail service
for more details see here buddy already mentioned @ronak

Can anyone explain the mandatory fields for Exchange Mail message actvities and where should we retrieve the information(such as server) from? - #3 by Phox

Cheers @ronak

1 Like

now i am getting this error.
image

What servername you mentioned buddy @ronak

@Palaniyappanhttps://outlook.office365.com

1 Like

buddy mention this as server buddy
https://outlook.office365.com/EWS/Exchange.asmx

Cheers @ronak

1 Like

Still Same Error Buddy @Palaniyappan

image

1 Like

Buddy @ronak
Kindly check your username and password in the properties whether they are entered correctly buddy
Cheers @ronak

I have checked but unfortunately nothing is working.
Thanks for your support @Palaniyappan

Buddy @ronak the password and username are variables i hope but you have mentioned as a string
just mention as password and userName, remove the double quotes buddy @ronak

not “password” and “userName”

image

This would work for sure buddy
Cheers @ronak

i am also getting same message…dont know what is the problem(401)unauthorized.

2 Likes

@Palaniyappan, I am getting the same error.

Can you please help?

Thanks,
Sayali

@Palaniyappan - how to get my server details, if I need to use Send Exchange Mail activity?

https://forum.uipath.com/t/can-anyone-explain-the-mandatory-fields-for-exchange-mail-message-actvities-and-where-should-we-retrieve-the-information-such-as-server-from/77564/3

Hi Krithi1,
Follow the above URL step and from the ‘Availability Server’ option take the URL till ‘.com’ only.
Eg- https://outlook.office365.com
If you are working/employed then instead of using ‘outlook.office365’ you need to use your company domain name that you will get in the ‘Availability Server’ URL.
Eg. https://mail.CompanyDomain.com