Created
April 19, 2020 22:20
-
-
Save gitUmaru/b7b26985bcae2a0773d21fe804fed866 to your computer and use it in GitHub Desktop.
Send email via Python --- This is a very simple script that I wrote several years ago that sends emails from your email to another persons email. As you can see this spams someone with email. Alternatively, one can automate email lists this way as well. Hypothetically, it can also serve as an SMS bomber, but I do not condone any malicious and mi…
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
import smtplib | |
ep = 'smtp.gmail.com' | |
blue_spy = 'youremail@gmail.com' | |
pas = 'yourPassowrd' | |
port = 587 | |
msg = 'The Lannisters send their regards' | |
red_spy = 'theirEmail@gmail.com' | |
server = smtplib.SMTP(ep,port) | |
server.starttls() | |
server.login(blue_spy,pas) | |
# spam email send | |
for n in range (0,10): | |
server.sendmail(ep,red_spy,msg) | |
print('brahrtaht') | |
time.sleep(2) | |
server.quit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment