SMTP mail server error

Hello,

i am using send smtp mail activity to send mails form my server.
initially activity was working perfectly without any error with activiti version 1.7.2
image
but recenty i it is throwing an error like below and not working with new versions.
cehck below error
image

help me to resolve same.

Hi @Mathkar_kunal

  1. Update Libraries: If you are using specific libraries for sending emails (such as MailKit, as mentioned in the error message), make sure you are using the latest version. Sometimes, updating the library can resolve compatibility issues.
  2. Configure Email Activity: Double-check the email sending activity configuration in your UiPath workflow. Ensure that you are providing the correct SMTP server details, port, credentials, and secure connection settings.
  3. Try Different Ports: Attempt using different ports for SSL/TLS. Some email providers use non-standard ports for secure connections. Common ports include 465 for SSL and 587 for TLS.

Regards

from where to update libraries?

Hi @Mathkar_kunal

What is the version of your studio?

Regards

studio version 2021.4.4

Hi @Mathkar_kunal

Please update the mail activities to the latest version and keep the runtime rule to lowest as applicable.

Regards

after updateing mail activity to latest version 1.21.2
getting below 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.

Please provide property panel screenshot of the activity!

image

Try Port No 587 or 465…

error after using 587 - Send SMTP Mail Message: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

any update
tried both ports