mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
Add spam control basics
This commit is contained in:
parent
e10d04d22e
commit
51a0e1127e
8 changed files with 101 additions and 12 deletions
|
@ -39,12 +39,6 @@ func (m *Mailer) Initialize() {
|
|||
m.Dialer, _ = ds.Connect(m.Config)
|
||||
}
|
||||
|
||||
// Send prepares and sends email.
|
||||
func (m *Mailer) Send(em ds.EmailMessage) (ok bool, err error) {
|
||||
ok, err = ds.SendMessage(m.Dialer, m.Config, em)
|
||||
return
|
||||
}
|
||||
|
||||
// ParseTemplate produces email template.
|
||||
func (m *Mailer) ParseTemplate(filename string, params interface{}) (html string, err error) {
|
||||
html = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue