%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText sender_email = "amit.verma@shardatech.org" # Replace with your sender email sender_password = "amit@90#v" # Replace with your sender email password receiver_email = "amit.verma@shardatech.org" # Replace with the recipient's email subject = "Notification Email" message = "Hello, this is a notification email." try: # Connect to Gmail's SMTP server server = smtplib.SMTP("smtp.gmail.com", 587) server.starttls() # Log in to your Gmail account server.login(sender_email, sender_password) # Create a MIME object for the email msg = MIMEMultipart() msg["From"] = sender_email msg["To"] = receiver_email msg["Subject"] = subject # Attach the message to the email msg.attach(MIMEText(message, "plain")) # Send the email server.sendmail(sender_email, receiver_email, msg.as_string()) print("Notification email sent successfully") except Exception as e: print("Error:", e) finally: # Disconnect from the server server.quit()