Skip to content

J3eyond/Reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reporter

Description

Simple script send email with attachments.

Install


Clone repository:

git clone https://github.com/J3eyond/Reporter.git

Enter the folder:

cd Reporter

Install requirements:

pip install -r requirements.txt

Create .env file and set lines:

SMTP_SERVER='Smtp server'
PORT='Port number'
EMAIL='Email account'
LOGIN='Email login'
PASSWORD='Account password'
SUBJECT='Email subject'
RECEIVER='Email receiver'
MESSAGE='Text for email message'
REPORT_FOLDER='*Your_absolute_path*/Reporter/reports/'

Attachments(optional)

reports - folder for your attachments.

If you need attachments put them in the reports folder.

Launch

python3 reporter.py

Requirements


  • Python 3.8 +