An open API service indexing awesome lists of open source software.

https://github.com/jonathanspereira/smtp_email_python

Example of SMTP protocol for sending by email
https://github.com/jonathanspereira/smtp_email_python

python smtp-mail smtp-protocol smtplib

Last synced: 7 months ago
JSON representation

Example of SMTP protocol for sending by email

Awesome Lists containing this project

README

          

# Sending Email with Python

## Project:

Sending an email with the price of some shares. The email must contain information from the last six months:

- Minimum share price;
- Maximum share price;
- Quote of the day.
- How it will be carried out:
- Install and use libraries;
- Automatically fetch stock data;
- generate some statistics with this data;
- Use multiline strings;
- Send emails automatically using the SMTP protocol.

## Settings:

To use replace the credentials passed as variables at the top:

- email_user = 'your_email'
- email_password = 'your_password'

The following data is requested through inputs: the ticker of the action, desired period and the email address for the recipient.