Skip to content
Permalink
Browse files

Fix broken use of Network.Mail.Mime

  • Loading branch information...
benjamingoldstein committed Oct 16, 2019
1 parent e5170ac commit 2e0b79734bafea5ad10be90eef64bb8366577fad
Showing with 4 additions and 4 deletions.
  1. +4 −4 cookbook/yesod-auth-json.md
@@ -124,9 +124,9 @@ instance YesodAuthEmail App where
Part
{ partType = "text/plain; charset=utf-8"
, partEncoding = None
, partFilename = Nothing
, partDisposition = DefaultDisposition
, partContent =
Data.Text.Lazy.Encoding.encodeUtf8
PartContent $ Data.Text.Lazy.Encoding.encodeUtf8
[stext|
Please confirm your email address by clicking on the link below.
@@ -140,9 +140,9 @@ instance YesodAuthEmail App where
Part
{ partType = "text/html; charset=utf-8"
, partEncoding = None
, partFilename = Nothing
, partDisposition = DefaultDisposition
, partContent =
renderHtml
PartContent $ renderHtml
[shamlet|
<p>Please confirm your email address by clicking on the link below.
<p>

0 comments on commit 2e0b797

Please sign in to comment.
You can’t perform that action at this time.