Skip to content
New issue

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

feat: Update parser.rs #1345

Merged
merged 2 commits into from
Oct 9, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions core/src/smtp/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ pub fn is_invalid(e: &str, email: &EmailAddress) -> bool {
|| e.contains("address error")
// E-mail address is not handled by this system (on @kaimayfair.co.uk)
|| e.contains("address is not handled")
// permanent: 5.1.1 recipient is not exist (on @sim.com)
|| e.contains("recipient is not exist")
// permanent: 5.1.1 <EMAIL> Recipient not found. (on @4polymer.com)
|| e.contains("Recipient not found")
amaury1093 marked this conversation as resolved.
Show resolved Hide resolved
}

/// Check that the mailbox has a full inbox.
Expand Down