Mail activity help

how to send email with attachments when i dont have outlook installed in my system and i am using companys mail id

Hi @Sameekshya_Panigrahi

You can make use of

And you can find the SMTP settings here

To add Attachment you can go through this thread

Hope this helps!

hello, i am not using gmail account

@Sameekshya_Panigrahi
It works for outlook account also!

can you let me know how to design that flow

@Sameekshya_Panigrahi Use SMTP activities

@Sameekshya_Panigrahi,

You can use O365 activity for this.

1 Like

@Sameekshya_Panigrahi

Hope this helps!

Hi @Sameekshya_Panigrahi
You can try to follow steps below :
Steps:

  1. Use Send SMTP Mail Message activity.

  2. Fill in the following:

Host: e.g., smtp.office365.com (for Microsoft 365), or your company’s mail server.

Port: Usually 587.

Email: Your email ID.

Password: Use Get Password activity or store it securely.

Attachments: Add paths to the attachments.

Enable SSL: Checked.

if thats your actual corporate email address in screenshot, make sure to mask it before posting in public forums.

1 Like

yaa but see , when i am passing a variable in the attachment it is showing error, what can i do in that place

yaa but see , when i am passing a variable in the attachment it is showing error, what can i do in that placee

i tried using this activity also, but i am not having the modern microsoft 360 scope, only the classic one is available there, and send mail modern one is available , so when i am adding classic scope and then modern activity inside the scope it is throwing error

Hi @Sameekshya_Panigrahi

In Attachments section try like below,

LocalResource.FromPath(“C:\Users\Desktop\DailyWork.xlsx”)

OR
LocalResource.FromPath(filePath)

If you found helpful, feel free to tick as a solution.
Happy Automation


getting this errror

Hi @Sameekshya_Panigrahi
Try this,

Happy Automation

@Sameekshya_Panigrahi,

Send Mail for Classic is also there.

tried this, but with this activity it is opening outlook 2016 version and not taking the already installed one