ansible/ansible — pull request #1752 by jpmens (2012-12-11 16:40:49+00:00)
Title: 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

Example playbook:

```yaml
---
- hosts: 127.0.0.1
gather_facts: false
connection: local
tasks:
- local_action: mail
host='127.0.0.1'
port=2025
subject="Ansible-report"
body="Hello, this is an e-mail. I hope you like it ;-)"
from="jane@example.net (Jane Jolie)"
to="John Doe , Suzie Something "
cc="Charlie Root "
attach="/etc/group /tmp/pavatar2.png"
```