Hi,Uday Paleti
Ensure the port number and enable SSL connection.
Use the SSMS UI tutorial:
Enter the SMTP server name and port (usually 587 for TLS/SSL).
Check the box for "This server requires a secure connection (SSL)" to enable SSL for SMTP.
Or with T-SQL:
Create a Database Mail account
......
@port = 587
......
@enable_ssl = 1
Best Regards,
Mikey Qiao
If you're satisfied with the answer, don't forget to "Accept it," as this will help others who have similar questions to yours.