Skip to main content

SDK for Mail.ru Sendbox rest api

Project description

Latest PyPI version

SDK for Mail.ru Sendbox rest api

Usage

from sendbox_sdk.api import SendBoxApi

sendbox_api = SendBoxApi("sendbox_account_id", "sendbox_account_secret")
sendbox_api.send_templated_email(
    context={
        'template_parameter1': 'test',
        'template_parameter2': 'test',
    },
    from_email='test@example.come',
    from_name="Example",
    to_email='user@example.com',
    to_name="Username",
    subject="Subject"
)

Installation

Requirements

requests

Compatibility

Licence

MIT

Authors

sendbox_sdk was written by Yasha Mikhoparkin.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sendbox_sdk-0.1.1.tar.gz (4.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page