mailgun3_python
Python client for mailgun.
For detail:
Install
pip install mailgun3_python
Set API KEY from docsumo setting page as env variable MAILGUN_API_KEY & MAILGUN_DOMAIN or pass apikey parameter in Mailgun class.
export MAILGUN_API_KEY="key-c-fgrt456" >> ~/.bashrc
export MAILGUN_DOMAIN="example.com" >> ~/.bashrc
source ~/.bashrc
Example
from mailgun import Mailgun
mailgun = Mailgun()
# send email with attachment
mailgun.send_message("Text, <test@gmail.com>",
"bkrm.dahal@gmail.com",
"Docsumo: Automate invoice data capture at Docsumo",
'Hi, welcome to docsumo.',
files=['./invoice.pdf'])
# send message with saved template
mailgun.send_message_template("Text, <test@gmail.com>",
"bkrm.dahal@gmail.com",
"Docsumo: Automate invoice data capture at Docsumo",
"welcome_email",
{"company_name": "docsumo", "first_name": "bikram"})
Metadata
Release files for mailgun3-python 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mailgun3_python-0.1.4.tar.gz | 4.9 kB | Without provenance | Details for mailgun3_python-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mailgun3_python-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for mailgun3_python-0.1.4-py3-none-any.whl |
Total release size: 11.5 kB
Release files / mailgun3_python-0.1.4.tar.gz
| Download URL | mailgun3_python-0.1.4.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3b14adcc7fca09d63643170e4555d08293e6430c69f65c2aabf1b151c0ab19e5
|
|
BLAKE2b-256 checksum How to use checksums |
515c4e578c9b107e74c8401e9c89911fb1161060b0f8acf46bdf43ab6c565c6f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.3
|
Release files / mailgun3_python-0.1.4-py3-none-any.whl
| Download URL | mailgun3_python-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be751929f205da022c06555bef380784863f5a9c428882c6a28dcceadba528dd
|
|
BLAKE2b-256 checksum How to use checksums |
022591e2b0fb42ad3159be3835612bd96453a99f4a363ee47420adce83de430c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.7.3
|
Security for mailgun3-python 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.