SetHTML sets the body of the message.
(html string)
| 96 | |
| 97 | // SetHTML sets the body of the message. |
| 98 | func (m *Message) SetHTML(html string) { |
| 99 | if m.smtpMsg != nil { |
| 100 | m.smtpMsg.html = html |
| 101 | } else if m.mgMsg != nil { |
| 102 | m.mgMsg.SetHtml(html) |
| 103 | } |
| 104 | } |
| 105 | |
| 106 | func (m *Message) SetReplyTo(replyTo string) { |
| 107 | if m.smtpMsg != nil { |
no outgoing calls
no test coverage detected