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.1.tar.gz (3.7 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.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for envialosimple_transaccional-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e9586f0be991dcbb3bc49b36fa28759cfe0fc3bdd358eec7b8fd2eb0a28001ae
MD5 601881a4c5536f9f75fe70eeae3df685
BLAKE2b-256 fefb63b944e75cbe2a3b10a697aa85e00141d272bc5652cd232787f9ecb2fb3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for envialosimple_transaccional-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13939205336f725630ccb5b23df7821f701fa1db9e5046ad7666a6707f9fe9b5
MD5 a0c031482fc9ed441548feabcc43021c
BLAKE2b-256 2f1f4c23197135609d25314859c0dd702c6c6c9f9326fde7636ef907e2fa4dad

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