NewMessage creates new mail message object with default From header.
(to []string, subject, body string)
| 61 | |
| 62 | // NewMessage creates new mail message object with default From header. |
| 63 | func NewMessage(to []string, subject, body string) *Message { |
| 64 | return NewMessageFrom(to, conf.Email.From, subject, body) |
| 65 | } |
| 66 | |
| 67 | type loginAuth struct { |
| 68 | username, password string |
no test coverage detected