25 lines
1.5 KiB
XML
25 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
<channel>
|
|
<title>Creating messages on Lettre site</title>
|
|
<link>https://lettre.github.io/lettre/creating-messages/</link>
|
|
<description>Recent content in Creating messages on Lettre site</description>
|
|
<generator>Hugo -- gohugo.io</generator>
|
|
<language>en-us</language>
|
|
<lastBuildDate>Sun, 21 May 2017 23:46:01 +0200</lastBuildDate>
|
|
|
|
<atom:link href="https://lettre.github.io/lettre/creating-messages/index.xml" rel="self" type="application/rss+xml" />
|
|
|
|
|
|
<item>
|
|
<title>Email creation</title>
|
|
<link>https://lettre.github.io/lettre/creating-messages/email/</link>
|
|
<pubDate>Sun, 21 Jan 2018 23:46:17 +0200</pubDate>
|
|
|
|
<guid>https://lettre.github.io/lettre/creating-messages/email/</guid>
|
|
<description>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;) .</description>
|
|
</item>
|
|
|
|
</channel>
|
|
</rss> |