We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement new method for matching given text with all the patterns of Sisimai::Reason::*.
my $v = '550 5.1.1 User unknown'; my $r = Sisimai->match($v); print $r; # "userunknown"
It might be usefull for getting a reason of bounce from error message of EPS's API response like https://sendgrid.com/docs/API_Reference/Web_API/bounces.html
{ "status": "4.0.0", "created": "2011-09-19 17:47:15", "reason": "Connection timed out", "email": "rawest@gmail.co" },
https://docs.aws.amazon.com/ja_jp/ses/latest/DeveloperGuide/notification-contents.html
{ "bounceType":"Permanent", "bounceSubType": "General", "bouncedRecipients":[ { "status":"5.0.0", "action":"failed", "diagnosticCode":"smtp; 550 user unknown", "emailAddress":"recipient1@example.com" }, { "status":"4.0.0", "action":"delayed", "emailAddress":"recipient2@example.com" } ], "reportingMTA": "example.com", "timestamp":"2012-05-25T14:59:38.605-07:00", "feedbackId":"000001378603176d-5a4b5ad9-6f30-4198-a8c3-b1eb0c270a1d-000000" }
The text was updated successfully, but these errors were encountered:
Restore Sisimai::Reason->match() method for issue #173. The method ha…
245b976
…d been removed at commit 960c1ef
Implement Sisimai->match() method for issue #173
9d87682
azumakuniyuki
No branches or pull requests
Implement new method for matching given text with all the patterns of Sisimai::Reason::*.
It might be usefull for getting a reason of bounce from error message of EPS's API response like
https://sendgrid.com/docs/API_Reference/Web_API/bounces.html
https://docs.aws.amazon.com/ja_jp/ses/latest/DeveloperGuide/notification-contents.html
The text was updated successfully, but these errors were encountered: