diff --git a/docs/learn/examples/email.html b/docs/learn/examples/email.html
index 97a4e81c7..09fd1c2ed 100644
--- a/docs/learn/examples/email.html
+++ b/docs/learn/examples/email.html
@@ -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 %]
\ No newline at end of file
+[%- END %]