Skip to content

Commit 6a6ea86

Browse files
committed
Switched email to be from private email STMP
1 parent 576b1b0 commit 6a6ea86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def send_email_with_results(results: Dict[str, Any], csv_path: Optional[str],
329329
logger.info(f"Attached CSV file: {csv_path}")
330330

331331
# Send email (Gmail SMTP)
332-
server = smtplib.SMTP('smtp.gmail.com', 587)
332+
server = smtplib.SMTP('mail.privateemail.com', 587)
333333
server.starttls()
334334
server.login(sender_email, sender_password)
335335
server.send_message(msg)
@@ -377,7 +377,7 @@ def lambda_handler(event: Dict[str, Any], context: Any) -> Dict[str, Any]:
377377
csv_path = write_errors_to_csv(results['list_of_errors'], csv_filename)
378378

379379
# Send email notification with results
380-
send_email_with_results(results, csv_path, endpoint_to_test, eval_function_name)
380+
send_email_with_results(results, csv_path, endpoint_to_test, eval_function_name, recipient_email)
381381

382382
return {
383383
"statusCode": 200,

0 commit comments

Comments
 (0)