Skip to main content

Python SDK for EnvíaloSimple Transaccional

Project description

EnvíaloSimple Transaccional - Python SDK

Requirements

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


Download files

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

Source Distribution

envialosimple_transaccional-0.1.3.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

envialosimple_transaccional-0.1.3-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file envialosimple_transaccional-0.1.3.tar.gz.

File metadata

  • Download URL: envialosimple_transaccional-0.1.3.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.11.6 Linux/6.6.9-arch1-1

File hashes

Hashes for envialosimple_transaccional-0.1.3.tar.gz
Algorithm Hash digest
SHA256 9cbfcb84ffe3c50203546ea591d2f2f29c161fd15bf32b580714b3d34ad863f2
MD5 0199e734c26c2e315c372e01672704dd
BLAKE2b-256 19f6333f2897d504cb0ff6de3e602f4c2433b790ffe2b82a4b4db2878f6a4db7

See more details on using hashes here.

File details

Details for the file envialosimple_transaccional-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for envialosimple_transaccional-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8923380cd3449a187353ba4933b02602d22742f8a2281baa3193f1d990902a46
MD5 03c0cf996c0d5dd5714103c84f950cd5
BLAKE2b-256 3794610d29c10907327710ca2dd53db9a43f43f1934d25ceea7a8cf84df4e7e8

See more details on using hashes here.

Supported by

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