Struct lettre::SimpleSendableEmail
[−]
[src]
pub struct SimpleSendableEmail { /* fields omitted */ }
Minimal email structure
Methods
impl SimpleSendableEmail
[src]
pub fn new(
from_address: String,
to_addresses: &[String],
message_id: String,
message: String
) -> EmailResult<SimpleSendableEmail>
[src]
from_address: String,
to_addresses: &[String],
message_id: String,
message: String
) -> EmailResult<SimpleSendableEmail>
Returns a new email
pub fn new_with_envelope(
envelope: Envelope,
message_id: String,
message: String
) -> SimpleSendableEmail
[src]
envelope: Envelope,
message_id: String,
message: String
) -> SimpleSendableEmail
Returns a new email from a valid envelope
Trait Implementations
impl Debug for SimpleSendableEmail
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SimpleSendableEmail
[src]
fn clone(&self) -> SimpleSendableEmail
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more