-
-
Notifications
You must be signed in to change notification settings - Fork 828
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13396 from tschuettler/36-dev-mail
dev/mail#36 - Fix invalid unicode characters in bounce processing
- Loading branch information
Showing
3 changed files
with
58 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
40 changes: 40 additions & 0 deletions
40
tests/phpunit/CRM/Utils/Mail/data/bounces/test_invalid_character.eml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Delivered-To: my@example.com | ||
Received: by 10.2.13.84 with SMTP id 1234567890; | ||
Wed, 19 Dec 2018 10:01:11 +0100 (CET) | ||
Return-Path: <> | ||
From: Postmaster@example.com | ||
To: b.2.1.aaaaaaaaaaaaaaaa@example.com | ||
Subject: Delivery Status Notification (Failure) | ||
Message-ID: <abc.def.fhi@example.com> | ||
Date: Wed, 19 Dec 2018 10:01:07 +0100 | ||
MIME-Version: 1.0 | ||
Content-Type: multipart/report; report-type=delivery-status; boundary="==IFJRGLKFGIR18927894UHRUHIHD" | ||
|
||
--==IFJRGLKFGIR18927894UHRUHIHD | ||
Content-Type: text/plain; charset=ISO-8859-1 | ||
Content-Transfer-Encoding: quoted-printable | ||
Your message | ||
Subject: test | ||
was not delivered to: | ||
my@example.com | ||
because: | ||
Benutzer my (my@example.com) nicht im Domino-Verzeichnis aufgef=FChrt | ||
--==IFJRGLKFGIR18927894UHRUHIHD | ||
Content-Type: message/delivery-status | ||
Reporting-MTA: dns;srv.example.com | ||
Final-Recipient: rfc822;my@example.com | ||
Action: failed | ||
Status: 5.0.0 | ||
Diagnostic-Code: X-Notes; Benutzer my (my@example.com) nicht im Domino-Verzeichnis aufgefhrt | ||
--==IFJRGLKFGIR18927894UHRUHIHD |