Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2d9aa5d1cd |
@@ -120,7 +120,7 @@ func fetch() {
|
|||||||
smtp.PlainAuth("", conf.Username, conf.Password, conf.MailHost))
|
smtp.PlainAuth("", conf.Username, conf.Password, conf.MailHost))
|
||||||
email.To("gmp@wow.st")
|
email.To("gmp@wow.st")
|
||||||
email.From("covid@wow.st")
|
email.From("covid@wow.st")
|
||||||
msg := "Covid dashboard update for " + time.Now().Format("Monday, January 2 2006"))
|
msg := "Covid dashboard update for " + time.Now().Format("Monday, January 2 2006")
|
||||||
email.Subject(msg)
|
email.Subject(msg)
|
||||||
email.Plain().Set(msg)
|
email.Plain().Set(msg)
|
||||||
email.Attach("dashboard.pdf", f)
|
email.Attach("dashboard.pdf", f)
|
||||||
|
|||||||
Reference in New Issue
Block a user