mail send support Address format

This commit is contained in:
astaxie 2016-01-17 22:49:02 +08:00
parent a304bb9c25
commit 566aab4354
1 changed files with 1 additions and 0 deletions

View File

@ -231,6 +231,7 @@ func (e *Email) Send() error {
if err != nil {
return err
}
e.From = from.String()
raw, err := e.Bytes()
if err != nil {
return err