Skip to content
Browse files

Merge pull request #30 from madsen/email-attrs

Email::MIME requires encoding & charset - thanks @madsen - we will take from here :)
  • Loading branch information...
2 parents 9be0139 + 0ec6bd5 commit 81231508b840762f1f51544e8e3a376ebd8b7576 @ranguard ranguard committed
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/perlfaq9.pod
View
6 lib/perlfaq9.pod
@@ -293,7 +293,11 @@ Use the L<Email::MIME> and L<Email::Sender::Simple> modules, like so:
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",
);
use Email::Sender::Simple qw(sendmail);

0 comments on commit 8123150

Please sign in to comment.
Something went wrong with that request. Please try again.