J3eyond / Reporter

Simple script send email with attachments.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 +
  • About

    Simple script send email with attachments.

    License:MIT License


    Languages

    Language:Python 100.0%