Notification Delivery Service - The server response was: 5.7.57 Client not authenticated to send mail
When setting up Notification Delivery (SMTP) within Snow License Manager; customers are unable to receive the email. After verifying the following log location:
C:\Program Files\Snow Software\Logs\NotificationDelivery
Errors appearing referencing 'The server response was: 5.7.57 Client not authenticated to send mail'. Please see example below:
Snow License Manager 9.x
After running the PowerShell script (as administrator) below; it was clear that the issue was in regards to authentication with the Exchange/O365 portal.
$cred = Get-Credential -UserName accounttryingtosendfrom@snowsoftware.com -Message "Enater Password for account" $mailParams = @{ smtpServer = "smtp.office365.com" Port = '587' UseSSL=$true Credential = $cred From = "accounttryingtosendfrom@snowsoftware.com" To="accounttryingtosendto@snowsoftware.com" Subject = "SMTP Relay" Body="Message SMTP Relay" DeliveryNotificationOption='onFailure','OnSuccess' } Send-MailMessage @mailParams
*Note: Replace the following parameters: Username (line 1), From (line 8), To (9)
After running the PowerShell script (noted above) - it was evident that the issue was related to the exchange. Please ensure:
- That the details are correct within SMACC > Snow License Manager > System Core Settings > SMTP_*:
- Verify with your Exchange administrator the correct SMTP port.
- Verify with your Exchange administrator if you are using SSL or TLS for connectivity.
- Re-run the Powershell script above; if successful - then the issue should then be resolved.
The account did not have the correct authentication to send emails.