Is this not a valid email address [email protected]
According to RFC822 this is a valid email address
Interesting - does it pass RFC2822 as well?
(If so I’ll take a look)
Yes it passes RFC2822 check
So exim by default disallows exclamation marks unless they are quoted, which is why it's disabled (since you may be able to send out using sendmail, but it could get blocked at the receiving end, or vice versa).
https://lists.gt.net/python/python/1173621
So around line 431 I have this:
// Note: check for Exim-banned characters
// See Bug #18749 - Unhandled Exception: 550 Restricted characters in address
if ($curChar == '%' || $curChar == '!') {
$emailAddress['invalid'] = true;
$emailAddress['invalid_reason'] = "This character is not allowed in email addresses submitted (please put in quotes if needed): '${curCh\
ar}'";
I could make an option to override this, would that be useful to you?
Thanks. Not required
Hey, As i reached further, i am getting this
"Periods within the name of an email address must appear in quotes"
email is: "name lastname [email protected], companyname Ltd. [email protected]"
Ok that’s definitely the second address causing the problem.
Which part of that address is the “name” and which part is the email?
It’s:
Name: companyname Ltd. Email: [email protected]
Right?
Yes
On Nov 13, 2017 21:39, "mmucklo" [email protected] wrote:
Ok that’s definitely the second address causing the problem.
Which part of that address is the “name” and which part is the email?
It’s:
Name: companyname Ltd. Email: [email protected]
Right?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mmucklo/email-parse/issues/14#issuecomment-343968097, or mute the thread https://github.com/notifications/unsubscribe-auth/ACXOVTcaOQEjFLVz8N7XZghaxycpxNaQks5s2Gm0gaJpZM4QTKk1 .