Creating email relay server using Python
Making life of any professional easy by creating a mail server that can send mail to 1000s of individual with unique attachments and…
Creating email relay server using Python
Making life of any professional easy by creating a mail server that can send mail to 1000s of individual with unique attachments and customized Subject as well as Body.
Hi, this is Basant Shah, I am a python developer who loves to find problem in a corporate sector and provide solution using micro-development to solve basic problem and help automate rigorous work that we do everyday.
The basic outline of this project is, we will create a GUI interface of a email server, that will import an excel sheet with information like To, CC, Attachment, Subject and Body which can be 1 to thousands of record and a user can import that specific file into our developed GUI interface and send each recipients mail at one go by a click of a button. Here is a GUI image.

Here, we have two options(Sender Address)
- You could use your own credentials and SMTP addresses to send iterations of mails.
- You could use relay server mailing address, most of the organization with mail server has this, you don’t need any credentials but can just trigger mail.
You will be needing Python as programming language and below libraries and python packages to complete this project.
PIP install smtplib
PIP install openpyxl
PIP install tkinter
PIP install pillow
Check if you have correctly installed python and all the packages, also make sure you have an IDE for writing codes and you could run a hello world code in you IDE and run it.
I will update with a URL for next part
메타데이터
- post_id
- 95d813b7fd2e
- slug
- creating-email-relay-server-using-python-95d813b7fd2e
- url
- https://medium.com/@bindassbasanta/creating-email-relay-server-using-python-95d813b7fd2e
- canonical_url
- https://medium.com/@bindassbasanta/creating-email-relay-server-using-python-95d813b7fd2e
- author_url
- https://medium.com/@bindassbasanta
- status
- ok
- fetched_at
- 2026-08-01 05:12:52