Skip to main content

✨ Awesome email tookit that shines ✨

Project description

pigeomail

A highly efficient and modular mail delivery framework for Python

##Install

pip install pigeomail

How to use

from pigeomail import Message,Mailer


if __name__ == "__main__":
    msg = Message()
    msg.From = "pigeomail"
    msg.To = ["xxx@gmail.com"]
    msg.Cc = []
    msg.Subject = "Hello, pigeomail is a highly efficient and modular mail delivery framework for Python."
    msg.Html = """
        <!DOCTYPE html>
        <html>
        <head>
        <meta charset="utf-8">
        </head>
        <body>
            <h1>Hello world~</h1>
            <p>pigeomail is a highly efficient and modular mail delivery framework for Python.</p>
        </body>
        </html>
    """
    msg.attachments = [
        "test1.jpg",
        "test2.jpg",
    ]

    mailer = Mailer(
        host="xxxx.163.com",
        port=80,
        user="username@163.com",
        pwd="passwd",
    )
    mailer.send(msg)  # just send your message through the mailer

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

pigeomail-0.0.8.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pigeomail-0.0.8-py2.py3-none-any.whl (6.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pigeomail-0.0.8.tar.gz.

File metadata

  • Download URL: pigeomail-0.0.8.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

File hashes

Hashes for pigeomail-0.0.8.tar.gz
Algorithm Hash digest
SHA256 36e75e4640dd139abc0b0f6b2c301d807b743a037874baffb783d1d9f124fe5e
MD5 b88d0d09b089c0f1f9719aaf9172d3a9
BLAKE2b-256 cfb9491aea89e30e8c286e933bf9103a9275f2d1e94ec5de2eb82dc9249f0a92

See more details on using hashes here.

File details

Details for the file pigeomail-0.0.8-py2.py3-none-any.whl.

File metadata

  • Download URL: pigeomail-0.0.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.0

File hashes

Hashes for pigeomail-0.0.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6cce560c8eee364d27042bcb071d81043ae6114b8c420c4c7a0844c42b967cf3
MD5 e0d68c17edf3e02b2f9e9ea111c79e00
BLAKE2b-256 9fcdd971db49a8c7138a4f255ae1b4caa333b8adb10899766b889375271f7d92

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page