Author Topic: MS SQL Database Mail: Exception Message: Cannot send mails to mail server  (Read 2453 times)

0 Members and 1 Guest are viewing this topic.

Offline Kraaitje

  • Newbie
  • *
  • Posts: 2
Hi,

Since I'm using Avast my MS SQL 2019 database mail isn't working anymore. When I check the error log, I get this error:
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 1 (2020-12-01T09:45:50). Exception Message: Cannot send mails to mail server.

I'm using Gmail as SMTP.

When I disable Avast, it works. How can I fix this?

Offline Kraaitje

  • Newbie
  • *
  • Posts: 2
Re: MS SQL Database Mail: Exception Message: Cannot send mails to mail server
« Reply #1 on: December 03, 2020, 10:32:08 AM »
Any idea how I can allow database mail in sql server using AVAST?