pub enum AddRecipientFailure {
TerminateSession,
RejectedPermanently,
RejectedTemporarily,
Moved(SmtpPath),
InvalidRecipient,
StorageExhaustedPermanently,
StorageExhaustedTemporarily,
FailedTemporarily,
InvalidParameter,
InvalidParameterValue,
}
Variants§
TerminateSession
The whole mail transaction failed, subsequent RCPT and DATA will fail
421
RejectedPermanently
550 Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)
RejectedTemporarily
450 Requested mail action not taken: mailbox unavailable (e.g., mailbox busy or temporarily blocked for policy reasons)
Moved(SmtpPath)
551 User not local; please try
InvalidRecipient
553 Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)
StorageExhaustedPermanently
552 Requested mail action aborted: exceeded storage allocation
StorageExhaustedTemporarily
452 Requested action not taken: insufficient system storage
FailedTemporarily
451 Requested action aborted: local error in processing
InvalidParameter
555 MAIL FROM/RCPT TO parameters not recognized or not implemented
InvalidParameterValue
455 Server unable to accommodate parameters
Trait Implementations§
Source§impl Clone for AddRecipientFailure
impl Clone for AddRecipientFailure
Source§fn clone(&self) -> AddRecipientFailure
fn clone(&self) -> AddRecipientFailure
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more