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've found a small big in the email validation that is causing me some grief.
Using a compound email validator, the following email address is considered as valid: foo.@domain.com
However when trying to send an email to this email address using swiftmailer, an exception is thrown with the following message:
Address in mailbox given [foo.@domain.com] does not comply with RFC 2822, 3.6.2.
500 Internal Server Error - Swift_RfcComplianceException
I would expect the SF2 email validation to match the SwiftMailer email validation so these types of issues do not occur.
Thanks
The text was updated successfully, but these errors were encountered:
The local part may consist of alphabetic and numeric characters, and the following characters:
!, #, $, %, &, ', *, +, -, /, =, ?, ^, _, `, {, |, } and ~,
possibly with dot separators (.), inside, but not at the start, end or next to another
dot separator (RFC 2822 3.2.4).
So, the issue is whether to support non-RFCs compliant email addresses not whether to conform to RFCs since there are various interpretations and misinterprets about RFCs due to theirs abstract explanation and some mail services violate RFCs.
Hi,
I've found a small big in the email validation that is causing me some grief.
Using a compound email validator, the following email address is considered as valid: foo.@domain.com
However when trying to send an email to this email address using swiftmailer, an exception is thrown with the following message:
Address in mailbox given [foo.@domain.com] does not comply with RFC 2822, 3.6.2.
500 Internal Server Error - Swift_RfcComplianceException
I would expect the SF2 email validation to match the SwiftMailer email validation so these types of issues do not occur.
Thanks
The text was updated successfully, but these errors were encountered: