diff options
Diffstat (limited to 'pigeon.go')
-rw-r--r-- | pigeon.go | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -27,7 +27,6 @@ type Config struct { SMTPServer string `json:"smtp-server"` SMTPEmail string `json:"smtp-email"` SMTPPass string `json:"smtp-pass"` - Message string `json:"message"` Cooldown string `json:"cooldown"` IgnoreAlias bool `json:"ignore-alias"` } @@ -38,7 +37,6 @@ type Email struct { FromEmail string Subject string Date string - Message string } type worker struct { @@ -229,7 +227,6 @@ func (w *worker) handleUpdate(update *client.MailboxUpdate) { FromName: w.config.FromName, Subject: w.config.Subject, Date: time.Now().Format(time.RFC1123Z), - Message: w.config.Message, } if prevSend, exists := w.seen.emails[eml.ToEmail]; exists { log.Println("Address exists, checking time...") |