jordan-wright / email

Robust and flexible email library for Go
MIT License
2.61k stars 323 forks source link

Yahoo interface? #44

Open DaveAppleton opened 7 years ago

DaveAppleton commented 7 years ago

When I insert smtp.mail.yahoo.com:25 as the sending address, the Send command seems to hang forever.

Any idea what settings you would require?

Note: However, if you create the mail using this package, you can stream the output of the Bytes() command into MSMTP to send the email using os.exec(). Digital Ocean have good notes on setting up MSMTP to access Yahoo. I Can give details/sample code if needed.

JensRantil commented 4 years ago

@DaveAppleton Do you have any sample code?

JensRantil commented 4 years ago

Additionally, port 25 are sometimes blocked by some ISPs. Most SMTP providers have additional ports to work around that. Have you tried alternate ports?