[][src]Enum melib::smtp::ReplyCode

pub enum ReplyCode {
    _211,
    _214,
    _220,
    _221,
    _235,
    _250,
    _251,
    _252,
    _334,
    _353,
    _354,
    _421,
    _450,
    _451,
    _452,
    _455,
    _500,
    _501,
    _502,
    _503,
    _504,
    _535,
    _550,
    _551,
    _552,
    _553,
    _554,
    _555,
    _530,
}

Recognized kinds of SMTP reply codes

Variants

_211

System status, or system help reply

_214

Help message (Information on how to use the receiver or the meaning of a particular non-standard command; this reply is useful only to the human user)

_220

Service ready

_221

Service closing transmission channel

_235

Authentication successful,

_250

Requested mail action okay, completed

_251

User not local; will forward to (See Section 3.4)

_252

Cannot VRFY user, but will accept message and attempt delivery (See Section 3.5.3)

_334

rfc4954 AUTH continuation request

_353

PRDR specific, eg "content analysis has started|

_354

Start mail input; end with .

_421

Service not available, closing transmission channel (This may be a reply to any command if the service knows it must shut down)

_450

Requested mail action not taken: mailbox unavailable (e.g., mailbox busy or temporarily blocked for policy reasons)

_451

Requested action aborted: local error in processing

_452

Requested action not taken: insufficient system storage

_455

Server unable to accommodate parameters

_500

Syntax error, command unrecognized (This may include errors such as command line too long)

_501

Syntax error in parameters or arguments

_502

Command not implemented (see Section 4.2.4)

_503

Bad sequence of commands

_504

Command parameter not implemented

_535

Authentication failed

_550

Requested action not taken: mailbox unavailable (e.g., mailbox not found, no access, or command rejected for policy reasons)

_551

User not local; please try (See Section 3.4)

_552

Requested mail action aborted: exceeded storage allocation

_553

Requested action not taken: mailbox name not allowed (e.g., mailbox syntax incorrect)

_554

Transaction failed (Or, in the case of a connection-opening response, "No SMTP service here")

_555

MAIL FROM/RCPT TO parameters not recognized or not implemented

_530

Must issue a STARTTLS command first

Implementations

impl ReplyCode[src]

fn as_str(&self) -> &'static str[src]

fn is_err(&self) -> bool[src]

Trait Implementations

impl Clone for ReplyCode[src]

impl Copy for ReplyCode[src]

impl Debug for ReplyCode[src]

impl PartialEq<ReplyCode> for ReplyCode[src]

impl StructuralPartialEq for ReplyCode[src]

impl<'_> TryFrom<&'_ str> for ReplyCode[src]

type Error = MeliError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for ReplyCode

impl Send for ReplyCode

impl Sync for ReplyCode

impl Unpin for ReplyCode

impl UnwindSafe for ReplyCode

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]