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

preview_player
Показать описание
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:
Рекомендации по теме
Комментарии
Автор

Cool video. Also, you don’t need to import floor, just use the `//` operator, which is used for integer division (doesn’t return a float).

JosephTLyons
Автор

Lmao just made a comment bot in Python, this is a nice complement to it! :D Thanks for sharing.

uwuster
Автор

😝 This made my day! OMG... I can't wait to 🙏🏻

PlayPlayCrypto
Автор

can i change subject of massege..how i can do that

testkalilinux
Автор

so what do i need to do now? Do i need to copy the lines from the jupyter notebook and put it in python or what? im pretty new to the whole programming scene so i dont really understand what to do yet. Thanks for the help.

maximruff
Автор

I would like more details bu that was good.

rustywarships
Автор

close to running cell but keept getting "Failed to find a kernelspec to use for ipykernel launch"

motto
Автор

Please tell me u can use this on a iPhone too.. I wanna troll my old my teacher so bad man

almightyqdogg
Автор

Thx, I accidentally disturbed my mom tho since somehow I forgot to remove my email from her phone.

jakobl
Автор

It looked cool but I got lost in the first 5 mins so yeah...

zachchapman
Автор

How to get blocked and have no friends with python

hhhqqq
Автор

My code keeps saying no module named ‘requests’

ariffshariff
Автор

Hey! This code isnt working. Can you show us the working demo of your code but feeding in details?
Thank you

varunsubramaniam
Автор

Can i use It with my own mail?(alt mail)?

astrox
Автор

bro one life-saving question can I use another SMTP server, not Gmail. cuz if I use Gmail I can send at max 500 mail. so do we need to create an SMTP server to send more??

talkshowlivehost
Автор

why did my console said serever unexpectedly disconnected, isit my wifi signal too weak?

JJZzZzZzZ
Автор

Would u be able to put the code in a comment or description possibly

KingCa
Автор

I did this and it worked but it sent as a chain rather than 1000 seperate emails. Any tips?

brucedoyle
Автор

What are we suppose to put in word_list = book_data.split(" ")?

mattyuhhh
Автор

hello it gave me this error. ModuleNotFoundError: No module named 'requests'. Where am I and how am I suppose to download the book and is that how I fix?

mattyuhhh
join shbcf.ru