Skip to content

Commit

Permalink
Fix broken use of Network.Mail.Mime
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamingoldstein authored Oct 16, 2019
1 parent e5170ac commit 2e0b797
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cookbook/yesod-auth-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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>
Expand Down

0 comments on commit 2e0b797

Please sign in to comment.