This Python script allows you to send an email with an attachment using Gmail's SMTP server. The email is sent securely using TLS encryption. The script utilizes smtplib
, email.mime
, and os
libraries to compose and send the email.
- Send emails with attachments 📎
- TLS encryption for secure email sending 🔒
- Clear and simple code structure for ease of use 🧑💻
To run this script, you need:
- Python 3.x installed on your system 🐍
- A Gmail account or any other SMTP-compatible email provider 📧
- Access to less secure apps for Gmail (if not using OAuth)