go-gomail / gomail

The best way to send emails in Go.
MIT License
4.32k stars 572 forks source link

FAQ example is incorrect #50

Closed slimsag closed 8 years ago

slimsag commented 8 years ago

The example in FAQ is incorrect:

d := gomail.NewPlainDialer("smtp.example.com", "user", "123456", 587)

Should be:

d := gomail.NewPlainDialer("smtp.example.com", 587, "user", "123456")
alexcesaro commented 8 years ago

Thanks! I'm currently in holidays so I will fix it when I return.