Skip to content
This repository was archived by the owner on Nov 5, 2022. It is now read-only.

Commit 50a4b72

Browse files
committed
Update readme
1 parent 4219d3c commit 50a4b72

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

README.md

+16-22
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ Originally at <https://github.com/ZeroCater/python-mailgun2>
1414
A super simple Python API for interacting with [Mailgun](https://www.mailgun.com/). Currently
1515
only supports sending messages. Powered by [Requests](https://docs.python-requests.org/en/latest/).
1616

17-
Works with Python 3!
18-
1917
## Installation
2018

2119
```shell
@@ -37,32 +35,28 @@ mailer.send_message(
3735

3836
Required arguments:
3937

40-
from_email: string of email address to set as sender
41-
to: list or string of email address to send to
38+
```
39+
from_email: string of email address to set as sender
40+
to: list or string of email address to send to
41+
```
4242

4343
Optional arguments:
4444

45-
subject: string subject of the email
46-
text: string body of the email. Either text or html is required.
47-
html: string HTML of the email. Either text or html is required.
48-
cc: list of cc addresses.
49-
bcc: list of bcc addresses.
50-
tags: list of mailgun tags to associate with the email.
51-
reply_to: Convenience argument for setting the Reply-To header
52-
headers: Extra headers for messages
53-
inlines: List of file paths to attach inline to the message
54-
attachments: List of (file name, content type, file handle) as a multipart attachment
45+
```
46+
subject: string subject of the email
47+
text: string body of the email. Either text or html is required.
48+
html: string HTML of the email. Either text or html is required.
49+
cc: list of cc addresses.
50+
bcc: list of bcc addresses.
51+
tags: list of mailgun tags to associate with the email.
52+
reply_to: Convenience argument for setting the Reply-To header
53+
headers: Extra headers for messages
54+
inlines: List of file paths to attach inline to the message
55+
attachments: List of (file name, content type, file handle) as a multipart attachment
56+
```
5557

5658
## Contributing
5759

5860
See [Contributing](https://github.com/albertyw/python-mailgun2/blob/master/CONTRIBUTING.md)
5961

6062
Pull requests welcome!
61-
62-
## Distributing
63-
64-
```bash
65-
pip install twine
66-
python setup.py sdist bdist_wheel
67-
twine upload dist/*
68-
```

0 commit comments

Comments
 (0)