I have a scenario where I have to send the email from the non-gmail account using the smtp activities. I can’t use the Outlook activity because whenever BOT sends the email outlook gives a popup due to the programmatic access being set that warns me about suspicious activities and we can’t change this setting.
Would you like to send from the Outlook mail, you can use the Send SMTP Mail Message activity give the Outlook credentials in the properties and give the SMTP server as smtp-mail.outlook.com and port as 587
Now you can send the mail from Outlook to any mail with out installing outlook just simply using the SMTP.
You suggested your own way to achieve it - use the Send SMTP Mail Message activity. Just find out from your email administrators what your internal SMTP server is, and if any authentication is required (probably not).
I tried the suggested way but it’s giving the error like -
Send SMTP Mail Message: 535: 5.7.139 Authentication unsuccessful, the request did not meet the criteria to be authenticated successfully. Contact your administrator.
Your outlook account is not authenticated with SMTP. To enable the SMTP for your outlook account you have to contact your IT Team. They will enable it then you it will work in Send SMTP mail message activity.