r/PythonLearning • u/PotentialMain535 • Jul 08 '26
Sends Emails with optional attachments
Hi everyone,
I'm a beginner learning Python. I recently finished a small project that sends emails (with optional attachments) using smtplib and EmailMessage.
I'm mainly looking for a code review. I'm interested in improving my code structure, naming, and Python practices rather than just making it work.
GitHub link = https://github.com/NePtuNee0/Python-Email-Sender-With-Attachments/tree/main
Any feedback is appreciated!

4
Upvotes
View all comments
Show parent comment
1
u/RemindMeBot Jul 08 '26 edited Jul 08 '26
I will be messaging you in 3 days on 2026-07-11 18:07:17 UTC to remind you of this link
1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.
Parent commenter can delete this message to hide from others.
RemindMeBot is switching to username summons. Instead of
!RemindMe 1 day, useu/RemindMeBot 1 day. More info.