MultiEmailSender

MultiEmailSender is a program that allows user to send email to mult users with one click.

the used programming language was ‘PYTHON’ .

i used yagmail to send emails and tkinter in the user interface*

screen image

You need:

1- Install yagmail tool in your computer if you’re using the code directly

if you wanna see how yagmail work go this link : https://github.com/kootenpv/yagmail

2- Allow “Less secure app access” in order to give the yagmail access to use your email for sending

in order to do that go to this link : https://myaccount.google.com/lesssecureapps?pli=1 and check the “Less secure app access”

Here is how “yagmail” works:

import yagmail
yag = yagmail.SMTP()
contents = ['This is the body, and here is just text http://somedomain/image.png',
            'You can find an audio file attached.', '/local/path/song.mp3']
yag.send('to@someone.com', 'subject', contents)

Or more simple in just one line:

yagmail.SMTP('mygmailusername').send('to@someone.com', 'subject', 'This is the body')

Installing ‘yagmail’

For Python 2.x and Python 3.x respectively:

pip install yagmail[all]
pip3 install yagmail[all]

Some Explanations

screen image descripted

… ان شاء الله يفيدكم