Struct lettre_email::EmailBuilder [] [src]

pub struct EmailBuilder { /* fields omitted */ }

Builds an Email structure

Methods

impl EmailBuilder
[src]

[src]

Creates a new empty email

[src]

Sets the email body

[src]

Sets the email body

[src]

Add a generic header

[src]

Add a generic header

[src]

Adds a From header and stores the sender address

[src]

Adds a From header and stores the sender address

[src]

Adds a To header and stores the recipient address

[src]

Adds a To header and stores the recipient address

[src]

Adds a Cc header and stores the recipient address

[src]

Adds a Cc header and stores the recipient address

[src]

Adds a Bcc header and stores the recipient address

[src]

Adds a Bcc header and stores the recipient address

[src]

Adds a Reply-To header

[src]

Adds a Reply-To header

[src]

Adds a Sender header

[src]

Adds a Sender header

[src]

Adds a Subject header

[src]

Adds a Subject header

[src]

Adds a Date header with the given date

[src]

Adds a Date header with the given date

[src]

Adds an attachment to the email

[src]

Adds an attachment to the email If filename is not provided, the name of the file will be used.

[src]

Set the message type

[src]

Set the message type

[src]

Adds a child

[src]

Adds a child

[src]

Sets the email body to plain text content

[src]

Sets the email body to plain text content

[src]

Sets the email body to HTML content

[src]

Sets the email body to HTML content

[src]

Sets the email content

[src]

Sets the email content

[src]

Sets the envelope for manual destination control If this function is not called, the envelope will be calculated from the "to" and "cc" addresses you set.

[src]

Sets the envelope for manual destination control If this function is not called, the envelope will be calculated from the "to" and "cc" addresses you set.

[src]

Builds the Email

Trait Implementations

impl PartialEq for EmailBuilder
[src]

[src]

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

[src]

This method tests for !=.

impl Eq for EmailBuilder
[src]

impl Clone for EmailBuilder
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for EmailBuilder
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for EmailBuilder
[src]

[src]

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

Auto Trait Implementations

impl Send for EmailBuilder

impl Sync for EmailBuilder