landed E-mail subscription delivery

This commit is contained in:
2026-01-29 15:52:24 -07:00
parent a18a7c70f7
commit 184c614163
11 changed files with 229 additions and 4 deletions
+6
View File
@@ -24,6 +24,7 @@ type Message interface {
AddTo(string, string)
AddCC(string, string)
AddBCC(string, string)
GetSubject() string
SetSubject(string)
SetText(string)
AddHeader(string, string)
@@ -85,6 +86,11 @@ func (m *amMessage) AddBCC(addr string, name string) {
m.toAddrs = append(m.toAddrs, addr)
}
// GetSubject gets the message's subject.
func (m *amMessage) GetSubject() string {
return m.subject
}
// SetSubject sets the message's subject.
func (m *amMessage) SetSubject(s string) {
m.subject = s