Struct lettre_email::SimpleEmail [] [src]

pub struct SimpleEmail { /* fields omitted */ }

Simple representation of an email, useful for some transports

Methods

impl SimpleEmail
[src]

[src]

Adds a generic header

[src]

Adds 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 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 message

[src]

Adds an attachment to the message

[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

Trait Implementations

impl IntoEmail for SimpleEmail
[src]

[src]

Builds an email

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

impl Clone for SimpleEmail
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SimpleEmail
[src]

[src]

Formats the value using the given formatter. Read more

impl Default for SimpleEmail
[src]

[src]

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

Auto Trait Implementations

impl Send for SimpleEmail

impl Sync for SimpleEmail