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',
        subject='This is a test for {{name}}', 
        html='<h1>HTML emails are cool, {{name}}</h1>', 
        text='Text emails are also cool, {{name}}',
        substitutions={'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.2.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.2-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: envialosimple_transaccional-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 81dc9dc7c1295d7c9a50ca516e1f46fadcf173b09f9f5cbe3946de0cdf16c24f
MD5 2c814f5df56d067e7a5445ea47fec24e
BLAKE2b-256 46b7e69bfd243f78646f7957b328d546e437ec7172642ce8c896ac596f205d6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for envialosimple_transaccional-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d3063046d97f8475fd381d8410f249abbfc43d204b4420837f8b70aed6ad6bb6
MD5 64eca160b00e7055d87de13c671086fd
BLAKE2b-256 7c1fef4b75f66b14644147cf745cf75143c11a5095a8f83ac8cdeee65fcd62cd

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