# Creating messages on Lettre site

https://lettre.github.io/lettre/creating-messages/ Recent content in Creating messages on Lettre site Hugo -- gohugo.io en-us Sun, 21 May 2017 23:46:01 +0200

# Email creation

https://lettre.github.io/lettre/creating-messages/email/ Sun, 21 Jan 2018 23:46:17 +0200

https://lettre.github.io/lettre/creating-messages/email/
Simple example The email part builds email messages. For now, it does not support attachments. An email is built using an EmailBuilder. The simplest email could be: extern crate lettre_email; use lettre_email::EmailBuilder; fn main() { // Create an email let email = EmailBuilder::new() // Addresses can be specified by the tuple (email, alias) .to((&#34;user@example.org&#34;, &#34;Firstname Lastname&#34;)) // ... or by an address only .from(&#34;user@example.com&#34;) .subject(&#34;Hi, Hello world&#34;) .