On Sat, 16 Feb 2019 11:53:14 -0800 (PST)
Andrew <angang....@gmail.com> wrote:

> 2019/02/16 11:51:24 504 5.7.4 Unrecognized authentication type 
Log says everything in plain words. Your (MS) exchange account is
not configured to use plaintext passwords (as it certainly should not be).

>:auth := smtp.PlainAuth("","usern...@example.tld", "password", host)
You need to use smtp auth that is supported on your smtp account.
Talk to your admin, likely CRAMMD5[1] will be avaliable.

[1] https://godoc.org/net/smtp#CRAMMD5Auth

Hope this helps,

-- 
Wojciech S. Czarnecki
 << ^oo^ >> OHIR-RIPE

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to