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
rsa==3.1.1 | |
requests==1.2.3 |
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
def try_sending_email(): | |
import os, smtplib, mimetypes | |
from email.MIMEMultipart import MIMEMultipart | |
from email.MIMEBase import MIMEBase | |
from email.MIMEText import MIMEText | |
from email.Encoders import encode_base64 | |
gmail_user = '[user]@gmail.com' | |
gmail_password = '[password]' | |
recipient = '[recipient]' | |
msg = MIMEMultipart() |