Enum samotop_core::mail::AddRecipientFailure
source · [−]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
Auto Trait Implementations
impl RefUnwindSafe for AddRecipientFailure
impl Send for AddRecipientFailure
impl Sync for AddRecipientFailure
impl Unpin for AddRecipientFailure
impl UnwindSafe for AddRecipientFailure
Blanket Implementations
Mutably borrows from an owned value. Read more