I have a client that uses Gmail.com as their email server.
Port 587
SMTP-RELAY.GMAIL.COM
TLS set
User credentials normal
They are attempting to add this to the task scheduler to auto emailer using CDO. It fails to connect to the mail server. Is there something different with gmail.com that i don't know ? I believe they use OAUTH2, does the task scheduler have a issue with that ?
Using SMTP.GMAIL.COM Fails
Re: Using SMTP.GMAIL.COM Fails
Send email action in Task Scheduler supports only plain authentication and doesn't support any advanced feature. It is deprecated since Windows 8.
So as a workaround could be to use a local SMTP relay. Something like is described here: https://social.technet.microsoft.com/wi ... relay.aspx
Or to use PowerShell like is described here: https://www.netwoven.com/2017/04/28/sen ... re-solved/
So as a workaround could be to use a local SMTP relay. Something like is described here: https://social.technet.microsoft.com/wi ... relay.aspx
Or to use PowerShell like is described here: https://www.netwoven.com/2017/04/28/sen ... re-solved/
Best regards,
Igor Siticov.
Igor Siticov.
-
- Posts: 19
- Joined: Wed Dec 25, 2019 2:13 am
Re: Using SMTP.GMAIL.COM Fails
So the only SMTP server that the task scheduler works with is a simple smtp server and that is all.
Re: Using SMTP.GMAIL.COM Fails
Yes, exactly. This is how MS realized this functionality in their service.
Best regards,
Igor Siticov.
Igor Siticov.