From 69f2bc979fb2fd4355b1057b9e972fca7ff9555f Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sun, 15 Dec 2013 11:24:56 +0200 Subject: [PATCH] Expose showAddress --- mime-mail/Network/Mail/Mime.hs | 3 +++ mime-mail/mime-mail.cabal | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mime-mail/Network/Mail/Mime.hs b/mime-mail/Network/Mail/Mime.hs index 3719719..934246f 100644 --- a/mime-mail/Network/Mail/Mime.hs +++ b/mime-mail/Network/Mail/Mime.hs @@ -219,6 +219,9 @@ showAddressHeader (k, as) = , fromByteString "\n" ] +-- | +-- +-- Since 0.4.3 showAddress :: Address -> Builder showAddress a = mconcat [ maybe mempty ((`mappend` fromByteString " ") . encodedWord) (addressName a) diff --git a/mime-mail/mime-mail.cabal b/mime-mail/mime-mail.cabal index aa9231e..83aeab7 100644 --- a/mime-mail/mime-mail.cabal +++ b/mime-mail/mime-mail.cabal @@ -1,5 +1,5 @@ Name: mime-mail -Version: 0.4.2.1 +Version: 0.4.3 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