Skip to content

Commit

Permalink
feat(core): Fix disabled accts on hanmail.net (#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 authored Oct 8, 2023
1 parent 06f18ed commit 90393c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/smtp/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,8 @@ pub fn is_disabled_account(e: &str) -> bool {
e.contains("disabled")
// 554 delivery error: Sorry your message to <EMAIL> cannot be delivered. This account has been disabled or discontinued
|| e.contains("discontinued")
//550 5.2.1 RACT MY.IP: Mailbox is inactive: <USER@hanmail.net><CRLF> (on hanmail.net)
|| e.contains("inactive")
}

/// Check if the error is an IO "incomplete" error.
Expand Down

0 comments on commit 90393c8

Please sign in to comment.