davidsousa
Biblioteca para envio de e-mails com suporte a HTML e prioridade (Experimental). (Gmail)
Instalação
pip install davidsousa
Uso .py
from davidsousa import enviar_email
nome_remetente = "Seu Nome"
remetente = "seu_email@gmail.com"
senha = "sua_senha"
destinatario = "destinatario@example.com"
assunto = "Assunto do E-mail"
corpo = "<h1>Este é o assunto do e-mail</h1><p>Este é o corpo do e-mail em HTML.</p>"
# Enviar e-mail com corpo em HTML e marcado como importante
enviar_email(nome_remetente, remetente, senha, destinatario, assunto, corpo, importante=True, html=True)
Metadata
Release files for davidsousa 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| davidsousa-0.3.0.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| davidsousa-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.4 kB
Release files / davidsousa-0.3.0.tar.gz
| Download URL | davidsousa-0.3.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36867a38f08bbf9e245ab76b2cabeeae91c4fc5816ae0885ed05380f2c9b70d0
|
|
BLAKE2b-256 checksum How to use checksums |
8ebd3c074752c75960cbf470518a2b2da70166e84998c284ca73e784424f9d07
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / davidsousa-0.3.0-py3-none-any.whl
| Download URL | davidsousa-0.3.0-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0971cc10a3a79a58728cd0e04c9d0f1f00d95d1d1e8b9c7c7a363bb3ebd69d2e
|
|
BLAKE2b-256 checksum How to use checksums |
3644cc9794c0426d1b61719302f25e5afae945875471adf26b06ef0e5912f5ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|