Struct new_tokio_smtp::LocalNonSecureBuilder[][src]

pub struct LocalNonSecureBuilder<A> where
    A: Cmd
{ /* fields omitted */ }

Builder for an ConnectionConfig for an unencrypted smtp connection.Cmd

Should only be used for test setups

Methods

impl<A> LocalNonSecureBuilder<A> where
    A: Cmd
[src]

overrides the port to use (default: DEFAULT_SMTP_MSA_PORT)

overrides the client id to use (default: ClientId::hostname())

sets the auth command to use (default no authentication)

Calls Connection::connect(self.build()).

Trait Implementations

impl<A: Debug> Debug for LocalNonSecureBuilder<A> where
    A: Cmd
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<A> Send for LocalNonSecureBuilder<A>

impl<A> Sync for LocalNonSecureBuilder<A> where
    A: Sync