Python SDK for EnvíaloSimple Transaccional
Project description
EnvíaloSimple Transaccional - Python SDK
Requirements
- Python 3.8 or higher
- EnvíaloSimple Transaccional API Key (Create a demo account for free here)
Installation
pip install envialosimple-transaccional
Basic Usage
from envialosimple.transaccional import Transaccional
from envialosimple.transaccional.mail import MailParams
estr = Transaccional(your_api_key)
params = MailParams(
from_email='no-reply@mycompany.com',
from_name='MyCompany Notifications',
to_email='john.doe@example.com',
to_name='John Doe',
reply_to='reply@here.com',
subject='This is a test for {{name}}',
preview_text='A glimpse of what comes next...',
html='<h1>HTML emails are cool, {{name}}</h1>',
text='Text emails are also cool, {{name}}',
context={'name': 'John'})
estr.mail.send(params)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for envialosimple_transaccional-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cbfcb84ffe3c50203546ea591d2f2f29c161fd15bf32b580714b3d34ad863f2 |
|
MD5 | 0199e734c26c2e315c372e01672704dd |
|
BLAKE2b-256 | 19f6333f2897d504cb0ff6de3e602f4c2433b790ffe2b82a4b4db2878f6a4db7 |
Close
Hashes for envialosimple_transaccional-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8923380cd3449a187353ba4933b02602d22742f8a2281baa3193f1d990902a46 |
|
MD5 | 03c0cf996c0d5dd5714103c84f950cd5 |
|
BLAKE2b-256 | 3794610d29c10907327710ca2dd53db9a43f43f1934d25ceea7a8cf84df4e7e8 |