Skip to main content

MJMS - A client for https://mailsrv.marcusj.org

Usage

from mjms import MJMS

mjms = MJMS('API_KEY')

mjms.send_mail('example@email.com', 'This is the subject!', html='<h1>Hello world</h1>') # the first argument can also be a list of emails. text is also a valid kwarg

res = mjms.verify_email('example@email.com') 
# {'ok': True, 'token': 'XXXXXXX'} or {'ok': False, 'error': '...'}
print(mjms.check_verified(res['token']))

API keys can be obtained by visiting https://mailsrv.marcusjt.tech and signing in with replit.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mjms-1.2.1.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

mjms-1.2.1-py3-none-any.whl (1.8 kB view details)

Uploaded Python 3

File details

Details for the file mjms-1.2.1.tar.gz.

File metadata

  • Download URL: mjms-1.2.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.3 requests/2.30.0 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.7.0 rfc3986/1.5.0 colorama/0.4.5 CPython/3.10.6

File hashes

Hashes for mjms-1.2.1.tar.gz
Algorithm Hash digest
SHA256 d35747c673eed28424252278fe1ea068793bc57f227f3889ed1d4896e22811cc
MD5 1b9ce61b233c96d6ffd5181f3cd69874
BLAKE2b-256 bcbad023a3a5bb09328d1e58446b2d0b0ff0ea8d2eac9aee4868c1b91e8ceca1

See more details on using hashes here.

File details

Details for the file mjms-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: mjms-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 1.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.3 readme-renderer/37.3 requests/2.30.0 requests-toolbelt/0.9.1 urllib3/1.26.11 tqdm/4.64.0 importlib-metadata/4.12.0 keyring/23.7.0 rfc3986/1.5.0 colorama/0.4.5 CPython/3.10.6

File hashes

Hashes for mjms-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 adb7a67e969d7a2f551dba5498e35ad3466a73f155f31f4178023096c56dc32b
MD5 ef488c7d660fcc9963e2b2101842faca
BLAKE2b-256 825425f10c0cac5c42c7d74a5ed83ad5342f8a1def9f8c78f3ad4ae46cfa4e15

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 files

1.2.0

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page