Skip to content

Commit

Permalink
Merge pull request snoyberg#21 from foldr/master
Browse files Browse the repository at this point in the history
Correctly order arguments of `mailFromToSubject`
  • Loading branch information
snoyberg committed Mar 3, 2014
2 parents 72c3d1f + 263a194 commit 27e2d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mime-mail/Network/Mail/Mime.hs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ simpleMail' to from subject body = addPart [plainPart body]
$ mailFromToSubject from to subject

mailFromToSubject :: Address -> Address -> Text -> Mail
mailFromToSubject to from subject =
mailFromToSubject from to subject =
(emptyMail from) { mailTo = [to]
, mailHeaders = [("Subject", subject)]
}
Expand Down

0 comments on commit 27e2d0d

Please sign in to comment.