You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use gen_smtp to receive incoming emails. I use :mimemail.decode/1 to parse them, and I've noticed an issue in emails where the subject spans multiple lines in the incoming email.
Here's an example:
From: "Sender" <[email protected]>
To: "Recipient" <[email protected]>
Subject: An email with newlines
in the subject
Content-Type: text/plain; charset="utf-8"
Plain text email goes here!
If you try to decode this, you'll get a subject of An email with newlinesin the subject in the result.
The text was updated successfully, but these errors were encountered:
I use gen_smtp to receive incoming emails. I use
:mimemail.decode/1
to parse them, and I've noticed an issue in emails where the subject spans multiple lines in the incoming email.Here's an example:
If you try to decode this, you'll get a subject of
An email with newlinesin the subject
in the result.The text was updated successfully, but these errors were encountered: