set mail address

This commit is contained in:
2026-03-04 10:40:22 +02:00
parent ecae26490a
commit 304fa87506

View File

@@ -3,8 +3,8 @@ import smtplib
# --- HELPER TRIMITE EMAIL (GMAIL) --- # --- HELPER TRIMITE EMAIL (GMAIL) ---
def send_gmail(to_email, subject, body): def send_gmail(to_email, subject, body):
# Folosește App Password-ul tău de la Google aici # Folosește App Password-ul tău de la Google aici
user = "macamete.robert@gmail.com" user = "notificari.aquilasoft@gmail.com"
pw = "advx yqlv jkaa czvr" pw = "bpjv qmcq gptb pkpg "
msg = f"Subject: {subject}\nContent-Type: text/html\n\n{body}" msg = f"Subject: {subject}\nContent-Type: text/html\n\n{body}"
try: try:
server = smtplib.SMTP_SSL('smtp.gmail.com', 465) server = smtplib.SMTP_SSL('smtp.gmail.com', 465)