Closed astromahi closed 6 years ago
Use Dial
to get a SendCloser
and then use that SendCloser
when you call Send
.
You can see an example (check out the "Newsletter" example) here: https://godoc.org/gopkg.in/gomail.v2#ex-package--Newsletter
Thank you Jordan.
Can we handle the dial object like database handle so that I don't have to dial each time I send email?.