snoyberg/mime-mail — pull request #8 by EffeErre (2011-12-01 16:25:16+00:00)
Title: Attachments

Hi Snoyberg,

I made two small change to your library: please look at them and decide if you want to keep these changes.

1. In your version, attaching a file give the full path as the attached filename. I used takeFileName to drop the path.
2. I used Data.ByteString.Base64 instead of Codec.Binary.Base64. This should improve performance and - more important - split the resulting string as required by email specification.

Cheers,
EffeErre