I want to send emails with python but I don't know how to do so.
When I searched google I got this result:
Set up the SMTP server and log into your account. Create the MIMEMultipart message object and load it with appropriate headers for From, To, and Subject fields. Add your message body. Send the message using the SMTP server object.