Skip to main content

testing mail using smtp

Project description

testMail

How to install

git clone https://github.com/FKgk/testMail.git

or

pip install testMail

Dependency

  • this package don't need any reqiurements
  • need built-in module (email, smtplib, re)

Example

from testMail import Mail

mail = Mail("sender email", "app password")

# support one string and list
mail.send("receiver email", "title", "content")

mail.close()

If you want to check validation

mail.valid("email")
  • return true or raise WrongEmailError

Reference

PYPI

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

testMail-2.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

testMail-2.0-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

Details for the file testMail-2.0.tar.gz.

File metadata

  • Download URL: testMail-2.0.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for testMail-2.0.tar.gz
Algorithm Hash digest
SHA256 78cd0c5d149f5d0bc9fc91b1a6b67a4cdd0ee3ce137d68b72247310e568a81ae
MD5 5b31f308580001eb59e04f9b7d6394bc
BLAKE2b-256 4b207f41ced082b78f5eaed887da614d4f1b001f5f728c8b44047e36fc537987

See more details on using hashes here.

File details

Details for the file testMail-2.0-py3-none-any.whl.

File metadata

  • Download URL: testMail-2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.3.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.4

File hashes

Hashes for testMail-2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1367d95796332913f323da5d008bc33b3398f0b481bdc0951ee0e90cbb5781b5
MD5 869cb27dd9c6edece9ed5531de3efabd
BLAKE2b-256 64f56d04d5e29f3fa8c108749f3e007e89650250ad3c09f5516692e91da033af

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