[][src]Trait lettre_email::ExtractableEmail

pub trait ExtractableEmail {
    fn from_address(&self) -> Option<String>;
fn to_addresses(&self) -> Vec<String>;
fn cc_addresses(&self) -> Vec<String>;
fn bcc_addresses(&self) -> Vec<String>;
fn reply_to_address(&self) -> String;
fn subject(&self) -> String;
fn message_id(&self) -> String;
fn headers(&self) -> Vec<String>;
fn html(self) -> String;
fn text(self) -> String; }

Email sendable by any type of client, giving access to all fields

Required Methods

From address

To addresses

Cc addresses

Bcc addresses

Replay-To addresses

Subject

Message ID

Other Headers

html content

text content

Implementors