谷歌应用引擎文档没有描述如何包含电子邮件标题,你是怎么做的,即你如何改变这个? msg := &mail.Message{ Sender: "Example.com Support <support@example.com>", To: []string{"email@bob.com"}, Subject: "Confirm your registration", Body: fmt.Sprintf(confirmMessage, url), } if err := mail.Send(c, msg); err != nil { c.Errorf("Couldn't send email: %v", err) }
1 回答
- 1 回答
- 0 关注
- 160 浏览
添加回答
举报
0/150
提交
取消