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
Metadata
Release files for pigeomail 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pigeomail-0.0.8.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pigeomail-0.0.8-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / pigeomail-0.0.8.tar.gz
| Download URL | pigeomail-0.0.8.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36e75e4640dd139abc0b0f6b2c301d807b743a037874baffb783d1d9f124fe5e
|
|
BLAKE2b-256 checksum How to use checksums |
cfb9491aea89e30e8c286e933bf9103a9275f2d1e94ec5de2eb82dc9249f0a92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / pigeomail-0.0.8-py2.py3-none-any.whl
| Download URL | pigeomail-0.0.8-py2.py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
6cce560c8eee364d27042bcb071d81043ae6114b8c420c4c7a0844c42b967cf3
|
|
BLAKE2b-256 checksum How to use checksums |
9fcdd971db49a8c7138a4f255ae1b4caa333b8adb10899766b889375271f7d92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|