Issue Bug Closed

#81524Cannot send mails with special characters in local part

Mathias Brodala 06/09/17, 12:47 updated 02/13/20, 13:28

Description

Currently it is impossible to send mails with special characters in their local part, e.g. john.lötzschexample.org@. Swiftmailer fails with the following error:

 [ Swift_RfcComplianceException ]
 Address in mailbox given [john.lötzsch@example.org] does not comply with RFC 2822, 3.6.2.
 thrown in file er/lib/classes/Swift/Mime/Headers/MailboxHeader.php
 in line 345

The mentioned RFC 2822 has been extended by RFC 5335 which is supported by Swiftmailer 6.x and newer, thus an upgrade is necessary. This implies a few breaking changes however.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.