Skip to content

Commit

Permalink
Merge pull request #35 from madsen/email-attrs
Browse files Browse the repository at this point in the history
Email::MIME requires encoding & charset
  • Loading branch information
abh committed Feb 13, 2012
2 parents f0214f8 + 472420b commit 6e50a44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/learn/examples/email.html
Expand Up @@ -13,10 +13,14 @@
To => 'friend@example.com',
Subject => 'Happy birthday!',
],
body_str => 'Happy birthday to you!',
attributes => {
encoding => 'quoted-printable',
charset => 'ISO-8859-1',
},
body_str => "Happy birthday to you!\n",
);

# send the message
use Email::Sender::Simple qw(sendmail);
sendmail($message);
[%- END %]
[%- END %]

0 comments on commit 6e50a44

Please sign in to comment.