+
Skip to content

A simple web-based SMTP testing tool built in Python (Flask). Useful for quickly testing SMTP connectivity, sending test emails, and debugging mail server setups.

Notifications You must be signed in to change notification settings

tayyabtahir143/smtp-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SMTP Web Tester

A simple web-based SMTP testing tool built in Python (Flask). Useful for quickly testing SMTP connectivity, sending test emails, and debugging mail server setups.

Screenshot

Features

✅ Beautiful Bootstrap 5 UI
✅ Supports:

  • No encryption
  • STARTTLS
  • SSL/TLS

✅ Optional SMTP authentication
✅ Shows high-level error messages
✅ Retains form data after sending
✅ Runs easily in Docker
✅ SMTP connection logs visible in console for debugging

How to Run Locally

First, install Flask:

pip install flask

Then run the app:

python smtp_tester_web.py

Open your browser at:

http://localhost:8080

How to Run with Docker

Build the Docker image:

docker build -t tayyabtahir/smtp-server .

Run the container:

docker run -d --name smtp-server -p 8080:8080 --restart always tayyabtahir/smtp-server

Run the container with docker compose:

version: "3.8"

services:
  smtp-server:
    image: tayyabtahir/smtp-server
    container_name: smtp-server
    ports:
      - "8080:8080"
    restart: always
docker compose up -d

Then access it at:

http://localhost:8080

Environment

  • Python 3.11+
  • Flask

Example Usage

  • Test internal mail relays.
  • Check SMTP authentication for cloud services.
  • Diagnose mail server issues (wrong ports, TLS errors, auth failures).

Screenshots

From Screenshot

License

MIT License


Made with ❤️ by Tayyab Tahir

About

A simple web-based SMTP testing tool built in Python (Flask). Useful for quickly testing SMTP connectivity, sending test emails, and debugging mail server setups.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载