Skip to content

Commit

Permalink
Merge pull request #51 from benjamingoldstein/patch-1
Browse files Browse the repository at this point in the history
Fix broken use of Network.Mail.Mime
  • Loading branch information
psibi authored Oct 16, 2019
2 parents e5170ac + 2e0b797 commit 5e54510
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 5e54510

Please sign in to comment.