Rambomst / PHP-Bounce-Handler

Parse bounce emails and returns response status, recipient, headers, etc.
Other
7 stars 6 forks source link

Dash instead of space in diagnostic code causing crash #7

Closed maz0717 closed 6 years ago

maz0717 commented 6 years ago

550-Please turn on SMTP Authentication in your mail client, or login to the 550-IMAP/POP3 server before sending your message. mail.domain.com 550-[1.1.1.1]:44624 is not permitted to relay through this server without 550 authentication.

regex in formatStatusCode function is expecting a space.

maz0717 commented 6 years ago

Made a mistake. It's the regex in decodeDiagnosticCode that is expecting a space.

Rambomst commented 6 years ago

Merged changes from #8 and released in v1.5