Safe Haskell | None |
---|
Documentation
create :: (MonadBase IO m, MonadError ImmError m) => FilePath -> m ()Source
Build a maildir with subdirectories cur, new and tmp.
add :: (MonadBase IO m, MonadError ImmError m) => FilePath -> Mail -> m ()Source
Add a mail to the maildir
getUniqueName :: MonadBase IO m => m StringSource
Return an allegedly unique filename; useful to add new mail files in a maildir.