Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 795 Bytes

File metadata and controls

37 lines (26 loc) · 795 Bytes

Gmail App Password (SMTP) Setup Guide

This project uses SMTP with a Gmail App Password (no OAuth).

Step 1: Enable 2‑Step Verification

  1. Go to your Google Account → Security
  2. Enable 2‑Step Verification if it isn’t already enabled

Step 2: Create an App Password

  1. In Security → App passwords
  2. Select app: Mail
  3. Select device: Other (custom name) and name it (e.g., “Tech Loser Bot”)
  4. Copy the generated app password

Step 3: Add to .env

Set these values:

SMTP_USER=your_email@gmail.com
SMTP_PASSWORD=your_app_password_here
SMTP_HOST=smtp.gmail.com
SMTP_PORT=587
SMTP_USE_TLS=true

Step 4: Run

python3 main.py

Troubleshooting

  • Double‑check the app password (no spaces)
  • Ensure 2‑Step Verification is enabled