MCPcopy Index your code
hub / github.com/writefreely/writefreely / SetHTML

Method SetHTML

mailer/mailer.go:98–104  ·  view source on GitHub ↗

SetHTML sets the body of the message.

(html string)

Source from the content-addressed store, hash-verified

96
97// SetHTML sets the body of the message.
98func (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
106func (m *Message) SetReplyTo(replyTo string) {
107 if m.smtpMsg != nil {

Callers 4

emailPasswordResetFunction · 0.95
loginViaEmailFunction · 0.95
emailPostFunction · 0.95
sendSubConfirmEmailFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected