Struct lettre::email::EmailBuilder [] [src]

pub struct EmailBuilder { /* fields omitted */ }

Builds an Email structure

Methods

impl EmailBuilder
[src]

Creates a new empty email

Sets the email body

Sets the email body

Add a generic header

Add 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 Sender header

Adds a Sender 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

Set the message type

Set the message type

Adds a child

Adds a child

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

Sets the email content

Sets the email content

Builds the Email

Trait Implementations

impl PartialEq for EmailBuilder
[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 EmailBuilder
[src]

impl Clone for EmailBuilder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EmailBuilder
[src]

Formats the value using the given formatter.