imm-0.6.0.3: Retrieve RSS/Atom feeds and write one mail per new item in a maildir.

Safe HaskellNone

Imm.Mail

Synopsis

Documentation

data Mail Source

Constructors

Mail 

Fields

_returnPath :: String
 
_date :: Maybe ZonedTime
 
_from :: String
 
_subject :: String
 
_mime :: String
 
_charset :: String
 
_contentDisposition :: String
 
_body :: String
 

Instances

Show Mail 
Default Mail 

date :: Lens' Mail (Maybe ZonedTime)Source

type Format = (Item, Feed) -> StringSource

build :: (Applicative m, MailFormatter m, FeedParser m, Monad m) => TimeZone -> (Item, Feed) -> m MailSource

Build mail from a given feed, using builders functions from Settings.