pub enum SmtpError {
    SocksError(SocksError),
    HeloError(AsyncSmtpError),
    ConnectError(AsyncSmtpError),
    ConnectWithStreamError(AsyncSmtpError),
    MailFromError(AsyncSmtpError),
    RcptToError(AsyncSmtpError),
    CloseError(AsyncSmtpError),
    SmtpError(AsyncSmtpError),
    TimeoutError(TimeoutError),
    YahooError(YahooError),
}
Expand description

Error occured connecting to this email server via SMTP.

Variants

SocksError(SocksError)

Error if we’re using a SOCKS5 proxy.

HeloError(AsyncSmtpError)

Error when communicating with SMTP server, HELO phase.

ConnectError(AsyncSmtpError)

Error when communicating with SMTP server, connect phase.

ConnectWithStreamError(AsyncSmtpError)

Error when communicating with SMTP server, connect_with_stream phase.

MailFromError(AsyncSmtpError)

Error when communicating with SMTP server, MAIL FROM phase.

RcptToError(AsyncSmtpError)

Error when communicating with SMTP server, RCPT TO phase.

CloseError(AsyncSmtpError)

Error when communicating with SMTP server, close phase.

SmtpError(AsyncSmtpError)

👎 Deprecated since 0.8.27:

SMTP errors have been broken up into 6 phases, see all Smtp*Errors

Error when communicating with SMTP server.

TimeoutError(TimeoutError)

Time-out error.

YahooError(YahooError)

Error when verifying a Yahoo email.

Trait Implementations

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more