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