Home Forums SQL Server 2005 Administering The mail could not be sent to the recipients because of the mail server failure. RE: The mail could not be sent to the recipients because of the mail server failure.

  • All, I am having the same issue. I have tried everything mentioned.

    I am using gmail account. Server name = smtp.gmail.com

    port number 465, Checked the check box "this server requires a secure connection".

    Using basic authentication with my test email address and password. Getting error when sending test email:

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2016-08-24T13:52:31). Exception Message: Cannot send mails to mail server. (Failure sending mail.).

    Tried different port number (587) but get different error message:

    The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 6 (2016-08-24T14:04:57). Exception Message: Could not connect to mail server. (An attempt was made to access a socket in a way forbidden by its access permissions 74.125.25.109:587).

    btw using SQL server 2012.

    Thanks,

    Sean