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.
Metadata
Release files for mjms 1.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mjms-1.2.1.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mjms-1.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.6 kB
Release files / mjms-1.2.1.tar.gz
| Download URL | mjms-1.2.1.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d35747c673eed28424252278fe1ea068793bc57f227f3889ed1d4896e22811cc
|
|
BLAKE2b-256 checksum How to use checksums |
bcbad023a3a5bb09328d1e58446b2d0b0ff0ea8d2eac9aee4868c1b91e8ceca1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / mjms-1.2.1-py3-none-any.whl
| Download URL | mjms-1.2.1-py3-none-any.whl |
|---|---|
| Size | 1.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
adb7a67e969d7a2f551dba5498e35ad3466a73f155f31f4178023096c56dc32b
|
|
BLAKE2b-256 checksum How to use checksums |
825425f10c0cac5c42c7d74a5ed83ad5342f8a1def9f8c78f3ad4ae46cfa4e15
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|