AddTag attaches a tag to the Message for providers that support it.
(tag string)
| 113 | |
| 114 | // AddTag attaches a tag to the Message for providers that support it. |
| 115 | func (m *Message) AddTag(tag string) { |
| 116 | if m.mgMsg != nil { |
| 117 | m.mgMsg.AddTag(tag) |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | func (m *Message) AddRecipientAndVariables(r string, vars map[string]string) error { |
| 122 | if m.smtpMsg != nil { |
no outgoing calls
no test coverage detected