hello,
is it possible to send mail on behalf of someone else( access granted) using Office 365 activities?
Yes, it is possible to send an email on behalf of someone else using UiPath Studio with the Office 365 activities.
- Drag and drop the “Send Email” activity from the UiPath.Office365.Activities package into your workflow.
- In the properties pane of the “Send Email” activity, you can configure the properties such as “To”, “Subject”, and “Body” to specify the details of the email you want to send. You can also set the “From” property to the email address of the person on whose behalf you want to send the email.
Note that you need to specify the email address in the format of the mailbox you have been granted permissions for. - To send emails using Office 365 activities, you need to authenticate with your Office 365 account. You can do this by using the “Authenticate” activity from the UiPath.Office365.Activities package, which requires you to provide your Office 365 credentials, such as username and password, or use the “Application Scope” activity to configure authentication using an Application ID and Certificate or Application ID and Secret.
Thanks!!
Hi
U can use FROM property in that send mail activity
-
From - The email address from which the email is sent. If left blank, this defaults to the current user’s address. Otherwise, any address that has been assigned SendAs rights on the current user’s mailbox may be entered. This property supports
String
variables and string formatted values.
Cheers @Farah_halawani
no it throws an error i tried
i want to use office 365
I have the credentials stored in the Office 365 scope and I am using the send mail activity but when I run it I get this error message like: error invalid user
Please note that I used the same user using outlook mail message
Kindly ensure that the authentication method selected in the Office 365 scope activity matches the requirements of your Office 365 account. You can choose between different authentication methods such as “Interactive”, “Service Account”, or “Application Credentials” based on your setup.
Thanks!!