SQL Sever 2016 with the latest updates. Running on WS2012R2. Following error message is received:
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 5 (2017-04-14T21:34:10). Exception Message: Cannot send mails to mail server. (The operation has timed out.). )
I have tried several ways of setting up Database Mail, a mixture of precreated scripts and following the interface in SSMS.
I have also tried two different mail server credentials (Google and a Web Hosting Company), and both fail with the same error.
The Web Hosting Credentials are used on a PHP Script on another Server which works perfectly fine.
What should I check to get this working?