Smtp email python (what am i doing wrong?)

#Hi guys, need help! What am i doing wrong in here?

from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
import smtplib

message = MIMEMultipart()
message[“from”] = “Ram S”
message[“to”] = “raw_r@gmail.com
message[“subject”] = “test email”
message.attach(MIMEText(“body”))

with smtplib.SMTP(host=“smtp.gmail.com”, port=587) as smtp:

smtp.ehlo()
smtp.starttls()
smtp.login("raw_r@gmail.com", ".........")
smtp.send_message(message)
print("sent....")

Were you able to resolve the problem? I am having the same problem myself. Kindly help me fix it