mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 18:40:55 +00:00
mail send support Address format
This commit is contained in:
parent
a304bb9c25
commit
566aab4354
@ -231,6 +231,7 @@ func (e *Email) Send() error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
e.From = from.String()
|
||||||
raw, err := e.Bytes()
|
raw, err := e.Bytes()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user