I am trying to send email through uipath automation

hi mates,
i am trying to send an email by using gmail credinatial to outlook mail box

gmail port : 465
server : “smtp.gmail.com.”

but i am getting these error

Send SMTP Mail Message: An error occurred while attempting to establish an SSL or TLS connection.

The host name did not match the name given in the server’s SSL certificate.

Hi @umar5628 ,

Have you tried to enable Gmail for Email Activities as stated here:

Alternatively, you may also try to use these activities:
image

I hope this helps. Happy automation!

Kind regards,
Kenneth