1with smtplib.SMTP('smtp.gmail.com', 587) as connection:
2 connection.starttls() # tls = transport layer security (securing our connection)
3 connection.login(user=my_email, password=password)
4 connection.sendmail(
5 from_addr=my_email,
6 to_addrs=reciever_mail,
7 msg=f"Subject:Your subject goes here\n\nyour message goes here and \nthis will be on new line"
8 )