TROLL your FRIENDS with 1,000 EMAILS using Python | Python Pranks

Veröffentlicht am: 27 Juni 2019
auf dem Kanal: Izzy Analytics
50,243
927

FOR ENTERTAINMENT PURPOSES ONLY... WATCH AND USE AT YOUR OWN PERIL... IF THE FBI SHOWS UP AT YOUR DOOR FOR A DOS ATTACK... YOU'VE BEEN WARNED.

Who says programming can't be fun? In this video, I’m going to show you how to troll your friends by downloading a book from the internet and splitting it up into 1,000 emails.

We are going to create a simple plain-text email from the text of the book War and Peace, which isn't the longest book by a stretch, but I'm still going to get at least 500+ words per email. If this process runs smoothly, you will be sending a batch of 50 emails every minute for 10 minutes.

Some of the things that we will do include:
download and split a text file into a list
create a plain-text email message
open and close an email server connection
create a time-delayed loop
create a subject line that changes with each email

Gmail has locked things down pretty good with what it considers less secure apps. That would include access your Gmail account from the smtplib library in Python. However, there is a work around. You can enable access from "Less Secure Apps" by going to your Gmail account and enabling that feature. However, you should do this at your own peril, and after carefully reading the warnings linked below.

Gmail has sending limits (linked below) which you should check out before you start this as it could lock you out from sending email for 24 hours if you hit the caps.

References:
Jupyter Notebook: https://nbviewer.jupyter.org/github/i...
Python Script: https://github.com/israel-dryer/Pytho...
Requests: HTTP for Humans | https://2.python-requests.org/en/master/
math.floor() | https://docs.python.org/3/library/mat...
time.sleep() | https://docs.python.org/3/library/tim...
smtplib | https://docs.python.org/3/library/smt...
email.message | https://docs.python.org/3/library/ema...
email examples in Python | https://docs.python.org/3.7/library/e...


Auf dieser Seite können Sie das Online-Video TROLL your FRIENDS with 1,000 EMAILS using Python | Python Pranks mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Izzy Analytics 27 Juni 2019 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 50,243 Mal angesehen und es wurde von 927 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!