mirror of
https://github.com/soywod/himalaya.git
synced 2024-11-24 20:10:23 +00:00
improve readme faq sections
This commit is contained in:
parent
3044dda8f4
commit
bec2522e7f
1 changed files with 7 additions and 5 deletions
12
README.md
12
README.md
|
@ -488,7 +488,7 @@ You can also manually write your own configuration, from scratch:
|
|||
|
||||
Multiple address are separated by a coma `,`: `user@domain, Name <user@domain>, "Name" <user@domain>`.
|
||||
|
||||
### Body
|
||||
### Plain text body
|
||||
|
||||
Email message template body can be written in plain text. The result will be compiled into a single `text/plain` MIME part:
|
||||
|
||||
|
@ -500,11 +500,13 @@ You can also manually write your own configuration, from scratch:
|
|||
Hello, world!
|
||||
```
|
||||
|
||||
Email message template body can also be written in MML (MIME Meta Language).
|
||||
### MML boby
|
||||
|
||||
A raw email message is structured according to the [MIME](https://www.rfc-editor.org/rfc/rfc2045) standard. But it is not so user-friendly to use. Here comes MML: it simplifies the way email message body are structured. Thanks to its simple XML-based syntax, you can easily add multiple parts, attach a binary file, or attach inline image to your body.
|
||||
Email message template body can also be written in MML. The MIME Meta Language was introduced by the Emacs [`mml`](https://www.gnu.org/software/emacs/manual/html_node/emacs-mime/Composing.html) ELisp module. Pimalaya [ported it in Rust](https://github.com/pimalaya/core/tree/master/mml).
|
||||
|
||||
For example, this MML template:
|
||||
A raw email message is structured according to the [MIME](https://www.rfc-editor.org/rfc/rfc2045) standard. This standard produces verbose, non-friendly messages. Here comes MML: it simplifies the way email message body are structured. Thanks to its simple XML-based syntax, it allows you to easily add multiple parts, attach a binary file, or attach inline image to your body without dealing with the MIME standard.
|
||||
|
||||
For instance, this MML template:
|
||||
|
||||
```eml
|
||||
From: alice@localhost
|
||||
|
@ -518,7 +520,7 @@ You can also manually write your own configuration, from scratch:
|
|||
<#/multipart>
|
||||
```
|
||||
|
||||
is compiled into this valid (and way more verbose) MIME Message:
|
||||
compiles into the following MIME Message:
|
||||
|
||||
```eml
|
||||
Subject: MML simple
|
||||
|
|
Loading…
Reference in a new issue