/bulk-email-sender

Send Templatized Dynamic Emails Automatically

Primary LanguagePythonOtherNOASSERTION

bulk-email-sender

Send Templatized Dynamic Emails Automatically

What's New

  • You can send html mails. Just write compose.html.

Features

This is a simple program which does its work perfectly. Nothing more, nothing less

  1. Send dynamic emails with unlimited variables pulling data from a CSV file.
  2. Supports Markdown Formatting & embed links or images.
  3. Supports Attaching any kind of files.

Usage

  • Make sure you have Python installed in your system.

  • Download or Clone the repo and then move into the automailer directory.

  • Install all dependancies:

    pip install -r requirements.txt
  • Write your email inside compose.md (supports markdown formatting)

  • You can use variables , prefix them with $ sign.

    Hi $NAME , you have Bill Rs. $price due for $months

  • Put your data inside data.csv file The line 1 ie headers must contain 'EMAIL' (uppercase) parameter

    csv_image

    You can Export CSV file from Microsoft Office Excel, Libre Office, Google Sheets, SQL Database, or NoSQL Database

  • You you want to put any attachments , put them in the ATTACH directory.

  • Create a file .env and put the following into it:

    display_name=Mr.Bean
    sender_email=your@example.com
    password=12345
    

    Make sure to put real values, the above values are just an example.

  • Do not put original email password. Create Gmail Account then turn on 2 step Verification, and then set up an App Password for automailer.

  • All set up 👍 you are now READY TO GO . Run the send.py file:

    python3 send.py
  • You will be asked to confirm the attachments in the ATTACH folder. Upon confirmation , the application will start sending emails.

  • You will receive a full success report after emails are sent.

Getting Help

Please report an issue or ask your question in the issues section of the repository.