mail module: add MIME attachments, port and addresses with phrases

Add HTML-escaping to code examples in rST tempate of module-formatter
 Add support for specifying port, addresses with phrases and attaching files
 Add support for custom headers and document version_added for new options
 X-Mailer header added :)
 protect empty address lists & attachment list, and add bcc
This commit is contained in:
Jan-Piet Mens 2012-12-11 17:33:26 +01:00
parent 959a461080
commit f9755ca36d
2 changed files with 131 additions and 23 deletions

View file

@ -48,7 +48,7 @@
{% if example['description'] %}<p>@{ example['description'] | html_ify }@</p>{% endif %}
<p>
<pre>
@{ example['code'] | indent(4, True) }@
@{ example['code'] | escape | indent(4, True) }@
</pre>
</p>
{% endfor %}