I am using SQL Server Management Studio V18. I would like to schedule a job in SQL agent, which will send some mail based on some condition. For that I have configured database account profile and I am trying to test the email. But email is not received. It is saying the below error. any help on this will appreciate.
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1002 (2021-03-30T05:36:55).
Exception Message: Cannot send mails to mail server (The operation has timed out