Skip to content

Instantly share code, notes, and snippets.

@rahim42324
Last active October 30, 2020 13:45
Show Gist options
  • Select an option

  • Save rahim42324/ff5e342e94e6c6c81edcd231de7d0b32 to your computer and use it in GitHub Desktop.

Select an option

Save rahim42324/ff5e342e94e6c6c81edcd231de7d0b32 to your computer and use it in GitHub Desktop.
import smtplib
from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
mail_content = '''This is a simple mail'''
#The mail addresses and password
sender_address = 'sender123@gmail.com'
sender_pass = 'xxxxxxxx'
receiver_address = 'receiver567@gmail.com'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment