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
How to send mails using gomail v2 with STARTTLS ? but without credentials {username and password } is it possible? I tried without using username password but its taking loo long and no response.
This is the config im passing to my Dialandsend method :
tlsConfig := &tls.Config{InsecureSkipVerify: true, ServerName: hostName}
dialer := gomail.Dialer{
Host: hostName,{smtp-relay.gmail.com }
Port: portNumInt,
TLSConfig: tlsConfig,
}
I tried with port 25 and it worked fine but for startTLS its not working and the functionality is working fine in python(using smtplib) any ideas ?
The text was updated successfully, but these errors were encountered:
How to send mails using gomail v2 with STARTTLS ? but without credentials {username and password } is it possible? I tried without using username password but its taking loo long and no response.
This is the config im passing to my Dialandsend method :
tlsConfig := &tls.Config{InsecureSkipVerify: true, ServerName: hostName}
dialer := gomail.Dialer{
Host: hostName,{smtp-relay.gmail.com }
Port: portNumInt,
TLSConfig: tlsConfig,
}
The text was updated successfully, but these errors were encountered: