Skip to content

Commit

Permalink
feat(core): Fix disabled accts on hanmail.net (reacherhq#1339)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 authored and juhniorsantos committed Apr 11, 2024
1 parent 047dbcf commit 2e7eefb
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 2e7eefb

Please sign in to comment.