How to send a mail through UIPath while using SMTP,Outlook and send exchange mail mesage?

Hi @ovi @Dominic

no, Till now is so confusing this email sending option
i have tried several topic as like similar in UI Path forum and i cannot able find the solution for this

can you please help out ?

Thanks and regards
RaviDevaraj

@RaviDevaraj, Have you tried this one ?

Send smtp mail not working - #5 by rahatadi

Regards,
Dom :slight_smile:

Hi @Dominic,

i have tried that too ?

showing an error message to me .
please find the error message screen shot tooo

@RaviDevaraj, Have you checked this ? Try with port 587 and enter your credentials.

Regards,
Dom :slight_smile:

hi @Dominic

i tried using port :587

i am getting error message

Hi @Dominic

While I am using 465 port getting error message as: shown below?

@RaviDevaraj, Quite busy. Sorry for the late response.

Port - 587. Haven’t come across this kind of error ! Possibly someone will help you. @ovi any ideas ?

Regards,
Dom :slight_smile:

@RaviDevaraj, Port 465 - Lemme know one thing. Have you enabled two-step authentication or allow less secure steps on ?

Regards,
Dom :slight_smile:

Hi @Dominic

in my outlook account i opened i kept after that (Allow less secure steps ?)

i cannot able you that points.

hi @Dominic @ovi @shankm

i have completed the mail sending process, in that body attribute i need to type like 2-3 lines below below line.
eg:Hi Team
i am going to START THE UIPATH
Thanks and regards
(name)

like this.
it is not applicabale i have tried too.

what is the alternative way to solve this issues ?

thanks
RaviDevaraj

Hi @RaviDevaraj,

Build HTML code based on your inputs

image

Regards,
Arivu

hi @arivu96
that one i have already done

after that also is not coming properly
Thanks
RaviDevaraj

Check out this topic:

Hi @Dominic

I want to know if i want to Use Send SMTP Mail Activity to send mails through our personal account like-

john123@companyname.com

Then how can we configure it? Or should we use Send Exchange Mail activity for this.?

HI @SHAISTA,
Configure this one

https://activities.uipath.com/docs/mail-smtp

Regards,
Arivu

1 Like

@SHAISTA

Do you mean from your enterprise ID ? OR your own personal gmail/yahoo ?

If its a former (Enterprise) then,

You need IPServer and Port details as its account specific.

For the latter (Gmail) one you can refer this (also many more in forum)

Regards,
Dom :slight_smile:

2 Likes

Yes i want to use enterprise id.

@SHAISTA, Then you need to go as I said earlier,

Get the server details from your client/organisation.

Regards,
Dom :slight_smile:

Yes its working fine.
Thanks a ton!! :slight_smile:

@Dominic @arivu96 @ovi @Djh @SHAISTA @RaviDevaraj
I have mentioned all the values in properties still i am getting error
Send SMTP Mail Message: The SMTP server has unexpectedly disconnected.

I have tried with org smtp server and port
and
gmail port and smtp server

trows same error in both for ‘send smtp mail message’

Please guide