Skip to content

A Python script demonstrating automated email sending via Gmail SMTP for educational and testing purposes. Supports email format validation, secure password input using getpass, HTML-formatted messages, and controlled loop-based delivery with delays. Intended to teach SMTP authentication and email automation—not for spamming or abuse.

Notifications You must be signed in to change notification settings

SagarBiswas-MultiHAT/EmailBomber

Repository files navigation

EmailBomber

EmailBomber

Overview

EmailBomber is a Python-based script that allows you to send multiple emails in a loop using a Gmail SMTP server. This script includes basic email validation, secure password handling, and HTML-formatted email content. Designed for educational and testing purposes, this script demonstrates how to automate email sending via Python.

Features

  • Email Validation: Ensures the format of both sender and recipient emails is correct.
  • Secure Password Input: Uses getpass for securely handling email passwords.
  • HTML Email Support: Sends HTML-formatted emails with a customizable message.
  • Multiple Email Sending: Allows sending a specified number of emails in a loop.
  • SMTP Authentication: Utilizes Gmail's SMTP server for sending emails securely.

Prerequisites

  • Python 3.x
  • A Gmail account
  • An app password for Gmail (due to the less secure app access policy)

Installation

  1. Clone the repository:
    git clone https://github.com/SagarBiswas-MultiHAT/EmailBomber.git
  2. Navigate to the project directory:
    cd EmailBomber

Usage

  1. Run the script:

    python email_bomber.py
  2. Follow the prompts to enter:

    • Your Gmail address
    • Your Gmail app password
    • The recipient's email address
    • The email subject
    • The number of emails to send
  3. The script will send the specified number of emails to the recipient with a 1-second delay between each email.

Notes

  • Educational Purpose Only: This script is meant for educational purposes. Misuse of this tool for spamming or unauthorized email sending is strictly prohibited and may lead to legal consequences.
  • App Password Required: Ensure that you generate an app password in your Gmail account settings for this script to work.

About

A Python script demonstrating automated email sending via Gmail SMTP for educational and testing purposes. Supports email format validation, secure password input using getpass, HTML-formatted messages, and controlled loop-based delivery with delays. Intended to teach SMTP authentication and email automation—not for spamming or abuse.

Topics

Resources

Stars

Watchers

Forks

Languages