Struct mailstrom::Mailstrom[][src]

pub struct Mailstrom<S: MailstromStorage + 'static> { /* fields omitted */ }

Methods

impl<S: MailstromStorage + 'static> Mailstrom<S>
[src]

Create a new Mailstrom instance for sending emails.

Mailstrom requires an explicit start command to start sending emails. This is because some clients are only interested in reading the status of sent emails, and will terminate before any real sending can be accomplished.

Ask Mailstrom to die. This is not required, you can simply let it fall out of scope and it will clean itself up.

Determine the status of the worker

Send an email, getting back its message-id

Trait Implementations

impl<S: MailstromStorage + 'static> Drop for Mailstrom<S>
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<S> Send for Mailstrom<S>

impl<S> !Sync for Mailstrom<S>