Sending Emails Made Simple and Stylish!
Welcome to Samhiq-Mailer, a Python tool designed for effortless email sending via SMTP and Gmail. It combines a user-friendly Tkinter-based interface with robust features to make your email experience smooth and efficient.
- User-Friendly Interface: Enjoy the simplicity of a Tkinter-based graphical interface.
- Gmail and SMTP Integration: Seamlessly connect to Gmail and SMTP for efficient email dispatch.
- Lightweight and Efficient: A quick and efficient tool tailored for smooth email sending.
Make sure you have the following modules installed:
smtplib
tkinter
Ensure you meet the prerequisites before using Samhiq-Mailer:
pkg install git -y
pkg install python -y
Supercharge Samhiq-Mailer with Gmail's SMTP by creating an App Password:
-
Enable 2-Step Verification:
- Visit Google Account Security.
- Enable 2-Step Verification if not already enabled.
-
Access App Passwords:
- Under "Security," click on "App passwords" or a similar option.
-
Generate App Password:
- In "Select app," choose "Other (Custom name)."
- Specify a custom name (e.g., "Samhiq-Mailer") and click "Generate."
-
Copy App Password:
- Google will generate a unique 16-digit app password.
- Copy this password; you'll use it to authenticate Samhiq-Mailer with Gmail.
-
Use App Password in Samhiq-Mailer:
- When prompted for your Gmail password, use the app password generated earlier.
- This app password ensures secure access via SMTP without revealing your main password.
Configure Samhiq-Mailer to use Gmail's SMTP for sending emails:
- SMTP Host Configuration π
- Open
samhiqmail.py
in your text editor. - Find the SMTP host configuration section and set the SMTP host to
"smtp.gmail.com"
.
- Open
# SMTP Configuration
SMTP_HOST = "smtp.gmail.com"
SMTP_PORT = 587 # Gmail's SMTP port
- App Password Integration π
- In the same
samhiqmail.py
, locate the section where the password is prompted. - Replace the placeholder with the App Password generated earlier.
- In the same
# Email Account Information
EMAIL_ADDRESS = "your.email@gmail.com" # Your Gmail email address
EMAIL_PASSWORD = "your_generated_app_password" # App Password for Samhiq-Mailer
- Enjoy Sending Emails! π
- Save your changes and run
python samhiqmail.py
. - Experience the magic of Samhiq-Mailer sending emails via Gmail's secure SMTP.
- Save your changes and run
Now you're all set to elevate your email experience with Samhiq-Mailer. For any questions or assistance, feel free to reach out. Happy emailing! π§β¨
Author: Samhiq
Thanks for Using Samhiq-Mailer!
For inquiries or assistance, don't hesitate to reach out. Happy emailing! ππ§β¨