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
fn from_address(&self) -> Option<String>
From address
fn to_addresses(&self) -> Vec<String>
To addresses
fn cc_addresses(&self) -> Vec<String>
Cc addresses
fn bcc_addresses(&self) -> Vec<String>
Bcc addresses
fn reply_to_address(&self) -> String
Replay-To addresses
fn subject(&self) -> String
Subject
fn message_id(&self) -> String
Message ID
fn headers(&self) -> Vec<String>
Other Headers
fn html(self) -> String
html content
fn text(self) -> String
text content