https://github.com/samuelbarbosadev/emailautomation_python
Criando um script para enviar e-mails com python.
https://github.com/samuelbarbosadev/emailautomation_python
python python-script script
Last synced: 11 months ago
JSON representation
Criando um script para enviar e-mails com python.
- Host: GitHub
- URL: https://github.com/samuelbarbosadev/emailautomation_python
- Owner: SamuelBarbosaDev
- License: gpl-3.0
- Created: 2022-03-22T12:36:58.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-01-10T11:41:31.000Z (about 3 years ago)
- Last Synced: 2025-01-27T23:31:48.799Z (about 1 year ago)
- Topics: python, python-script, script
- Language: Python
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# E-mail Automation Python
## Ambiente virtual e Dependências:
Criando ambiente virtual:
```
python3 -m venv core/venv
```
Entrando no ambiente virtual:
```
source core/venv/bin/activate
```
Instale as dependências:
```
pip install -r core/requirements.txt
```
## Objetivo:
Criar uma Automação para o meu Gmail.
## Como Funciona:
Primeiro preciso de algumas informações, destinatário, titulo do e-mail, mensagem, e anexo, após isso você pode definir algumas variáveis de ambiente para colocar informações sensíveis, como e-mail e senha, após obter todas as informações que precisa utilizamos a lib yagmail para fazer o resto do trabalho.
## Observação:
Você vai precisar fazer algumas configurações de segurança no seu Gmail.
## O que aprendi:
Aprendi como usar a lib yagmail.
## Tecnologias utilizadas:
yagmail | python-decouple | python
--------- | --------------- | ---------
0.15.293 | 3.6 | 3.10.6
---
Linkedin:
E-mail: