jhickner / smtp-mail

Making it easy to send SMTP email from Haskell
BSD 3-Clause "New" or "Revised" License
75 stars 32 forks source link

Make plain text optional for simpleMail #3

Closed dubiousdavid closed 11 years ago

dubiousdavid commented 11 years ago

Please change the plain text type to Maybe Text for the simpleMail function. At the company I work for our system allows users to choose the mail delivery type from one of three options: plain, html, multipart (plain and html). Thanks.

David

jhickner commented 11 years ago

I changed simpleMail a bit to make email body creation a lot more flexible. Check out the readme for an example.