Link to home
Start Free TrialLog in
Avatar of IT Guy
IT GuyFlag for United States of America

asked on

Gmail SMTP email server settings for WSUS notifications needed

I'm currently using a Gmail account for Veeam email notifications using the server addresses shown in the first screenshot and am successfully receiving Veeam email notifications.

However when I try to use the exact same Gmail email address and email server settings for Server 2016 WSUS email notifications (in the second and third screenshots) these email server address notifications don't work. I receive the error message shown in the last screenshot which says

"System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. i8sm33761833pgq.67 - gsmtp
   at Microsoft.UpdateServices.Internal.BaseApi.SoapExceptionProcessor.DeserializeAndThrow(SoapException soapException)
   at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.SendTestEmail(String emailLanguage, String smtpUserName, String senderEmailAddress, String smtpHostName, Int32 smtpPort, String recipients)
   at Microsoft.UpdateServices.Internal.BaseApi.EmailNotificationConfiguration.SendTestEmail()
   at Microsoft.UpdateServices.UI.SnapIn.Dialogs.EmailNotificationSettingsDialog.backgroundWorker_DoWork(Object sender, DoWorkEventArgs e)."

There is no where within the Server 2016 WSUS email notification settings to select to use secure connection (SSL/TLS).

So what is the correct Gmail email address server address setting to use to successfully send notification emails?


User generated image
User generated image
User generated image
User generated image
Avatar of Sean
Sean
Flag of United States of America image

I would suggest setting up an internal email relay using IIS. It's very easy and you can point that to gmail. The problem is that gmail requires SSL/TLS and the wsus server doesn't have that as an option which is why it's failing.
Avatar of IT Guy

ASKER

Can you please provide me with the instructions on how to set up an internal email relay using IIS?
ASKER CERTIFIED SOLUTION
Avatar of Sean
Sean
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
It appears you're trying to use Gmail for relaying + as I understand, they've retired this facility.

If you're looking for a cheap relay, use MailGun. Its cheap + reliable + easy to debug.

First 10K messages each month are free, so you pay nothing for low volume email.
David, he isn't using their open relay he is using authentication. This isn't retired.