Skip to content

Commit

Permalink
Added test for plain text email with special characters in subject
Browse files Browse the repository at this point in the history
  • Loading branch information
adampresley committed Mar 14, 2018
1 parent 26e6d88 commit 8912cf0
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bin/send-mail-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,18 @@ def sendMail(msg):

sendMail(msg)

#
# Send plain text email with special characters in subject
#
msg = makeTextMessage(
"Plain Text Email with special characters (á, é, í, ó, ú)",
datetime.datetime.now(),
DATE_FORMAT_1,
"This is a plain text email with special characters in the subject.\n(á, é, í, ó, ú)\n\nSincerely,\nAdam Presley"
)

sendMail(msg)

#
# Send text+attachment
#
Expand Down

0 comments on commit 8912cf0

Please sign in to comment.