CoolFace
Apppublic

ehiaborsuccess/OutreachAI

sourceHugging Faceupdated 7mo agoView on Hugging Face
0likes
test_smtp.py17 linesDownload Raw Back to root
1import os2import smtplib3from dotenv import load_dotenv4 5load_dotenv()6 7sender_email = "itsehiaborsuccess@gmail.com"8sender_password = os.getenv("SMTP_PASSWORD")9 10print(f"Testing SMTP for {sender_email}...")11try:12    with smtplib.SMTP_SSL('smtp.gmail.com', 465) as smtp:13        smtp.login(sender_email, sender_password)14        print("SUCCESS: SMTP Login successful!")15except Exception as e:16    print(f"FAILED: SMTP Login failed: {e}")17