format second example
Joe Grasse joegrasse@gmail.com
Fri, 29 Jun 2018 08:48:57 -0500
1 files changed,
4 insertions(+),
1 deletions(-)
jump to
M
README.md
→
README.md
@@ -60,7 +60,10 @@ </html>`
email := mail.New() email.SetPriority(mail.PriorityHigh) - email.SetFrom("From Example <from@example.com>").AddTo("to@example.com").AddCc("otherto@example.com").SetSubject("New Go Email") + email.SetFrom("From Example <from@example.com>"). + AddTo("to@example.com"). + AddCc("otherto@example.com"). + SetSubject("New Go Email") email.SetBody("text/plain", "Hello Gophers!") email.AddAlternative("text/html", htmlBody)