packages feed

mime-mail 0.4.4.1 → 0.4.4.2

raw patch · 2 files changed

+10/−3 lines, 2 files

Files

Network/Mail/Mime.hs view
@@ -1,4 +1,4 @@-{-# LANGUAGE OverloadedStrings #-}+{-# LANGUAGE CPP, OverloadedStrings #-} module Network.Mail.Mime     ( -- * Datatypes       Boundary (..)@@ -263,7 +263,14 @@ -- | Send a fully-formed email message via the default sendmail -- executable with default options. sendmail :: L.ByteString -> IO ()-sendmail = sendmailCustom "/usr/sbin/sendmail" ["-t"]+sendmail = sendmailCustom sendmailPath ["-t"]++sendmailPath :: String+#ifdef MIME_MAIL_SENDMAIL_PATH+sendmailPath = MIME_MAIL_SENDMAIL_PATH+#else+sendmailPath = "/usr/sbin/sendmail"+#endif  -- | Render an email message and send via the default sendmail -- executable with default options.
mime-mail.cabal view
@@ -1,5 +1,5 @@ Name:                mime-mail-Version:             0.4.4.1+Version:             0.4.4.2 Synopsis:            Compose MIME email messages. Description:         This package provides some high-level datatypes for declaring MIME email messages, functions for automatically composing these into bytestrings, and the ability to send bytestrings via the sendmail executable. You can also use any other library you wish to send via different methods, eg directly to SMTP. Homepage:            http://github.com/snoyberg/mime-mail