Skip to main content

mailgatewayid (Python)

Official zero-dependency Python SDK for MailGateway.id. Python 3.8+.

pip install mailgatewayid
from mailgatewayid import MailGateway, MailGatewayError

mg = MailGateway()  # reads MAILGATEWAY_API_KEY
mg.send(
    from_="NoReply <no-reply@domainanda.id>",
    to="user@example.com",
    subject="Selamat datang",
    html="<p>Halo!</p>",
    idempotency_key="invoice-INV-1001",  # optional, safe retries (24h)
)
mg.verify("user@gmail.com")

Webhook: verify_webhook_signature(raw_body, request.headers["X-MailGateway-Signature"], secret). Errors raise MailGatewayError with .status, .body, .retry_after.

Metadata

Release files for mailgatewayid 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mailgatewayid 0.2.0
File Size Uploaded Provenance Actions
mailgatewayid-0.2.0.tar.gz 2.9 kB Without provenance Details for mailgatewayid-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mailgatewayid 0.2.0
File Interpreter ABI Platform Actions
mailgatewayid-0.2.0-py3-none-any.whl Python 3 none any Details for mailgatewayid-0.2.0-py3-none-any.whl

Total release size: 6.1 kB

Release files / mailgatewayid-0.2.0.tar.gz

Download URL mailgatewayid-0.2.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c52199420ab820fd8f99ed155dd84002af96033e9d3c000592277262f5955909
BLAKE2b-256 checksum
How to use checksums
9996ff100e3dbcad026657958ce7a7374938b9e4f7ff1c03eea9e99226ebc6a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Release files / mailgatewayid-0.2.0-py3-none-any.whl

Download URL mailgatewayid-0.2.0-py3-none-any.whl
Size 3.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39cd9792a59f0a07177858a593bf0b7cec302437433caecb5521bfa1139a5d5b
BLAKE2b-256 checksum
How to use checksums
f3c6f34eec2131ff639a550d20d42981ec356c4dc0088a400a02d99c3c70c4e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.15.2

Security for mailgatewayid 0.2.0

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page