SQL ошибка базы данных почты «почта не может быть отправлена» - PullRequest
0 голосов
/ 26 января 2020

Я пытаюсь использовать почту базы данных через SQL на моем домашнем компьютере P C, но она продолжает выдавать ошибку. Я попытался протестировать это: -

EXEC msdb.dbo.sp_send_dbmail
@profile_name = 'Notifications',
@recipients = '[my email]',
@body = 'Test',
@subject = 'Test';
GO

Это пришло с

The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using
enter code hereAccount 2 (2020-01-25T23:36:39). Exception Message: Cannot send mails to mail server. 
(The SMTP server requires a secure connection or the client was not authenticated.
The server response was: 5.7.0 Authentication Required. Learn more at).  )

Затем я изменил порт на 587 и теперь говорит

The mail could not be sent to the recipients because of the mail server failure.
Exception Message: Cannot send mails to mail server. (The SMTP server requires a secure connection     
or the client was not authenticated. The server response was: 5.7.0 Authentication Required. Learn 
more at).  Sending Mail using Account 6 (2020-01-26T13:04:54). Exception Message: Could not connect 
to mail server. (A connection attempt failed because the connected party did not properly respond 
after a period of time, or established connection failed because connected host has failed to 
respond

Я был бы очень признателен за любую помощь.

Приветствия

...