Struct lettre::email::SimpleEmail [] [src]

pub struct SimpleEmail { /* fields omitted */ }

Simple representation of an email, useful for some transports

Methods

impl SimpleEmail
[src]

Adds a generic header

Adds a generic header

Adds a From header and stores the sender address

Adds a From header and stores the sender address

Adds a To header and stores the recipient address

Adds a To header and stores the recipient address

Adds a Cc header and stores the recipient address

Adds a Cc header and stores the recipient address

Adds a Reply-To header

Adds a Reply-To header

Adds a Subject header

Adds a Subject header

Adds a Date header with the given date

Adds a Date header with the given date

Sets the email body to plain text content

Sets the email body to plain text content

Sets the email body to HTML content

Sets the email body to HTML content

Trait Implementations

impl IntoEmail for SimpleEmail
[src]

Builds an email

impl PartialEq for SimpleEmail
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for SimpleEmail
[src]

impl Clone for SimpleEmail
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for SimpleEmail
[src]

Formats the value using the given formatter.

impl Default for SimpleEmail
[src]

Returns the "default value" for a type. Read more