packages feed

gmail-simple 0.1.0.0 → 0.1.0.1

raw patch · 2 files changed

+4/−4 lines, 2 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

gmail-simple.cabal view
@@ -1,15 +1,16 @@ name: gmail-simple-version: 0.1.0.0+version: 0.1.0.1 synopsis: Simple library for Google Mail (GMail). description:   Easy-to-use library to interact with the Google Mail API.   .-  Current only supporting sending mails.+  Currently only supporting sending mails. category: Email, Google license: BSD3 license-file: LICENSE bug-reports: https://github.com/Daniel-Diaz/gmail-simple/issues homepage: https://github.com/Daniel-Diaz/gmail-simple/blob/main/README.md+maintainer: Daniel Casanueva build-type: Simple cabal-version: >= 1.10 extra-source-files:
src/Network/GMail/Simple.hs view
@@ -1,6 +1,5 @@  {-# LANGUAGE OverloadedStrings #-}-{-# LANGUAGE TypeApplications #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE FlexibleInstances #-} @@ -251,7 +250,7 @@         [ "From: " <> mail_sender mail <> " <" <> mailAddressText sender <> ">\r\n"         , "To: " <> mailAddressText (mail_recipient mail) <> "\r\n"         , "Subject: " <> mail_subject mail <> "\r\n"-        , "Content-Type: " <> decodeUtf8 (Media.renderHeader $ mailContentType (Proxy @ a)) <> "\r\n"+        , "Content-Type: " <> decodeUtf8 (Media.renderHeader $ mailContentType (Proxy :: Proxy a)) <> "\r\n"         , "\r\n"         , toMailBody $ mail_body mail           ]