Trait lettre_email::ExtractableEmail [] [src]

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

Important traits for Vec<u8>

To addresses

Important traits for Vec<u8>

Cc addresses

Important traits for Vec<u8>

Bcc addresses

Replay-To addresses

Subject

Message ID

Important traits for Vec<u8>

Other Headers

html content

text content

Implementors