My email program does not work

I have applied the program for sending email. The program is as follows

from email.mime.multipart import MIMEMultipart
from email.mime.text import MIMEText
from email.mime.image import MIMEImage
from pathlib import Path
import smtplib

message = MIMEMultipart()
message["from"] = "Sarmad Alsaadi"
message["to"] = ""
message["subject"] = "This is a test"
message.attach(MIMEText("Body", "plain"))
with smtplib.SMTP(host="", port=587) as smtp:
    smtp.login("", "acrobat12345")

I am getting this error when I execute the program.

File “e:\Tutorials\Mosh\mastery_course\”, line 16, in
smtp.login(“”, “acrobat12345”)
File “C:\Program Files\Python311\Lib\”, line 750, in login
raise last_exception
File “C:\Program Files\Python311\Lib\”, line 739, in login
(code, resp) = self.auth(
File “C:\Program Files\Python311\Lib\”, line 662, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b’5.7.8 Username and Password not accepted. Learn more at\n5.7.8 Check Gmail through other email platforms - Gmail Help s7-20020adfeb07000000b002bff1de8d4bsm11043112wrn.49 - gsmtp’)

I would so much appreciate it if someone could kindly extend me a helping hand