Page 1 of 1


Posted: Fri Oct 16, 2020 8:41 pm
by rbaroniunas
I have a client that uses as their email server.

Port 587
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 that i don't know ? I believe they use OAUTH2, does the task scheduler have a issue with that ?

Re: Using SMTP.GMAIL.COM Fails

Posted: Sat Oct 17, 2020 6:33 am
by isiticov
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: ... relay.aspx
Or to use PowerShell like is described here: ... re-solved/

Re: Using SMTP.GMAIL.COM Fails

Posted: Mon Oct 19, 2020 6:59 pm
by rbaroniunas
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

Posted: Tue Oct 20, 2020 7:14 am
by isiticov
Yes, exactly. This is how MS realized this functionality in their service.