Skip to main content

A library to send messages with the Postal server API.

Project description

Postal Sender Library

This is a library to send messages with the Postal server API.

Installation

pip install postalsend

Usage

import postalsend

Login

postalsend.login(server, api_key)

Send a message

postalsend.send(from_address, to_address, subject, text)

Setup push notifications

postalsend.push_setup(to_address, from_address)

Send a push notification

postalsend.push_send(subject, text)

Example

python examples/send-mail.py

License

This project is licensed under the MIT License. See the LICENSE file for details.

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

postalsend-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

postalsend-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: postalsend-0.1.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for postalsend-0.1.1.tar.gz
Algorithm Hash digest
SHA256 058fdd92514c5a05323ef58c72edc24b2cf9c50f5d4da565dd4d7c144c0165c5
MD5 acf3f2ccf3d370ac395fcef9c0cf248c
BLAKE2b-256 bfc0a3d3efe229a9446b40f35e9f8da0a0c38df9590c7452981f3be147877c00

See more details on using hashes here.

File details

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

File metadata

  • Download URL: postalsend-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.8

File hashes

Hashes for postalsend-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8d7781ee3f002ca4951b06ab7d8a7f5cb714b2cab396b5a3cfc2d727f452592
MD5 a0ff58963773e6a31a2fb5de21a85ef9
BLAKE2b-256 f1c7339fbbd2560564c440b2d9abc9d75bcee0455f7699b165b9e35f005feb06

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