aboutsummaryrefslogtreecommitdiff
path: root/src/mail
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-29 20:10:42 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-29 20:10:42 +0200
commit4a412b96aa71451b013f4cebb9becdfe746586b5 (patch)
treeea79a619c6c9ff1ee91fe9c523ca55a8a359f6ac /src/mail
parentb71d9678892814a62d422af11eb91e61943836a2 (diff)
downloadaerogramme-4a412b96aa71451b013f4cebb9becdfe746586b5.tar.gz
aerogramme-4a412b96aa71451b013f4cebb9becdfe746586b5.zip
Add possibility to fetch full RFC822
Diffstat (limited to 'src/mail')
-rw-r--r--src/mail/mailbox.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mail/mailbox.rs b/src/mail/mailbox.rs
index bb1ca7a..479021d 100644
--- a/src/mail/mailbox.rs
+++ b/src/mail/mailbox.rs
@@ -239,7 +239,8 @@ impl MailboxInternal {
let mail = br#"From: Garage team <garagehq@deuxfleurs.fr>
Subject: Welcome to Aerogramme!!
-This is just a test email, feel free to ignore."#;
+This is just a test email, feel free to ignore.
+"#;
let mail = IMF::try_from(&mail[..]).unwrap();
self.append(mail, None).await?;