Skip to content

Latest commit

 

History

History
36 lines (25 loc) · 621 Bytes

File metadata and controls

36 lines (25 loc) · 621 Bytes

Thundermail Python SDK

A Python package for the Thunder Mail API.

Install

pip install thundermail

Setup

First, you need to get an API key, which is available in the Thunder Mail Dashboard.

from thundermail import ThunderMail;
thundermail = Thundermail('tim_12345678');

Usage

Send your first email:

email_data = {
    'from' = 'you@example.com',
    'to' = 'user@google.com',
    'subject' = 'hello world',
    'html' = '<strong>it works!</strong>'
}
response = thundermail.send(**email_data)

License

MIT License