Sending database mail
I'm trying to set up database mail on an MS SQL database (SQL Server 2019) with my email address. I'm doing that with these settings, which work in Outlook and other email clients:
smtp-server: mail.site.eu
port: 587
SSL: on
basic authentication (user and pass)
But I still get this message:
Cannot send mails to mail server. (A secure connection is required for the SMTP server or the client is not authenticated. The server response is: 5.7.1 Authentication required).
I also can't send mail via PowerShell and that 5.7.1 message keeps coming back. While all the settings are correct.
Sending mail via Outlook or other clients does work.
Database mail versturen
Ik probeer op een MS SQL database(SQL Server 2019) database-mail in te stellen met mijn mailadres. Ik doe dat met deze instellingen, deze werken in Outlook en andere e-mailclients:
smtp-server: mail.site.eu
poort: 587
SSL: aan
basic authenticatie(user en pass)
Maar toch krijg ik deze melding:
Cannot send mails to mail server. (Voor de SMTP-server is een beveiligde verbinding vereist of de client is niet geverifieerd. Het serverantwoord is: 5.7.1 Authentication required).
Ook via Powershell lukt het me niet mail te versturen en blijft die 5.7.1 melding terugkomen. Terwijl alle instellingen goed staan.
Mail versturen via Outlook of andere clients lukt wel.