sp_send_dbmail-Mail not sent - remote certificate is invalid

  • When i use sp_send_dbmail stored procedure inside a Execute SQL task,the task is executed successfully.

    But when i look in to 'Database Mail Log', it says

    "The mail could not be sent to the recepient because of the mail server failure. Exception message: cannot send mails to mail server(The remote certificate is invalid according to the validation procedure)

    Please let me know what can be the issue.

  • Can you check your authentication type? Go to Database mail configuration wizard -> Manage Existing account check the SMTP Authentication. Select the windows Authentication.

  • Hi Tommy,

    I checked the authentication type and it is Windows Authentication.

  • Can you verify your SMTP relay via telnet - i.e.

    technet.microsoft.com/en-us/library/003e4901-884f-4bc7-b3c3-557add4e5c3a.aspx

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply