You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have a problem. When I use the SendWithStartTLS function to send mail, It produces an error message: 504 5.7.4 Unrecognized authentication type [HK2PR04CA0063.apcprd04.prod.outlook.com],The code is as follows:
tlsConfig:=&tls.Config{
InsecureSkipVerify: true,
ServerName: smtpServerHost,
}
// send email with starttls// smtpServerAddr contains host and port of smtp servererr:=em.SendWithStartTLS(smtpServerAddr, smtp.PlainAuth("", username, password, smtpServerHost), tlsConfig)
What should I do?
The text was updated successfully, but these errors were encountered:
agoraluoru
changed the title
Send
SendWithStartTLS:504 5.7.4 Unrecognized authentication type [HK2PR04CA0063.apcprd04.prod.outlook.com]
Mar 21, 2022
Hi, I have a problem. When I use the SendWithStartTLS function to send mail, It produces an error message: 504 5.7.4 Unrecognized authentication type [HK2PR04CA0063.apcprd04.prod.outlook.com],The code is as follows:
What should I do?
The text was updated successfully, but these errors were encountered: