Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingserious committed Jul 4, 2017
2 parents 063a3db + 412f14a commit 8caf17a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helpers/mail/mail_v3.go
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,8 @@ func NewEmail(name string, address string) *Email {
}

func NewSingleEmail(from *Email, subject string, to *Email, plainTextContent string, htmlContent string) *SGMailV3 {
plainText := NewContent("text", plainTextContent)
html := NewContent("html", htmlContent)
plainText := NewContent("text/plain", plainTextContent)
html := NewContent("text/html", htmlContent)
return NewV3MailInit(from, subject, to, plainText, html)
}

Expand Down

0 comments on commit 8caf17a

Please sign in to comment.