SMTPClient 1.0 → 1.0.1
raw patch · 3 files changed
+5/−4 lines, 3 filesdep +extensible-exceptionsdep ~basePVP ok
version bump matches the API change (PVP)
Dependencies added: extensible-exceptions
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Network/SMTP/Client.hs +1/−1
- SMTPClient.cabal +3/−2
- example.hs +1/−1
Network/SMTP/Client.hs view
@@ -21,7 +21,7 @@ ) where import Network.SMTP.ClientSession-import Control.Exception+import Control.Exception.Extensible import Text.ParserCombinators.Parsec.Rfc2821 ( SmtpReply(..), SmtpCode(..),
SMTPClient.cabal view
@@ -1,5 +1,5 @@ name: SMTPClient-version: 1.0+version: 1.0.1 license: BSD3 license-file: LICENSE cabal-version: >= 1.2@@ -20,5 +20,6 @@ build-type: Simple Library exposed-modules: Network.SMTP.Client, Network.SMTP.ClientSession- build-depends: base >= 4, hsemail, network, old-time, old-locale, containers+ build-depends: base, hsemail, network, old-time, old-locale, containers,+ extensible-exceptions >= 0.1 && < 0.2
example.hs view
@@ -7,7 +7,7 @@ import Data.IORef myDomain = "example.com"-smtpHost = "smtp.example.com" -- <-- Your SMTP server here+smtpHost = "hubert.blacksapphire.com" -- <-- Your SMTP server here -- This will send the author an email. I don't mind! main = do