Could be me doing something wrong, but whenever I set the From header with FormatAddress function I get panic: 555 5.5.2 Syntax error. u8sm2660708wjq.1 - gsmtp from smtp.gmail.com
If I use the simple msg.SetHeader("From", "whatever@mail.com") format it works.
Hey!
Could be me doing something wrong, but whenever I set the
From
header withFormatAddress
function I getpanic: 555 5.5.2 Syntax error. u8sm2660708wjq.1 - gsmtp
fromsmtp.gmail.com
If I use the simple
msg.SetHeader("From", "whatever@mail.com")
format it works.