diff options
author | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-21 01:26:48 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.eu> | 2020-04-21 01:26:48 +0200 |
commit | 87935efe945c6847d2b18afaf7bfae5e80aa61e6 (patch) | |
tree | 748e678472b937d19c4985b059d8db590890fed0 /main.go | |
parent | afe2c4919dc2ded2f3b7d796b914dd66fbe78e64 (diff) | |
download | feed2imap-go-87935efe945c6847d2b18afaf7bfae5e80aa61e6.tar.gz feed2imap-go-87935efe945c6847d2b18afaf7bfae5e80aa61e6.tar.bz2 feed2imap-go-87935efe945c6847d2b18afaf7bfae5e80aa61e6.zip |
HTML Template part of the mail
Diffstat (limited to '')
-rw-r--r-- | main.go | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -33,6 +33,15 @@ func run() error { feed.Parse(feeds) + for _, f := range feeds { + mails, err := f.ToMails(cfg) + if err != nil { + return err + } + _ = mails + break + } + imapUrl, err := url.Parse(cfg.Target) if err != nil { return fmt.Errorf("parsing 'target': %w", err) |