added mail values in the env file

This commit was merged in pull request #41.
This commit is contained in:
Chinenye Nmoh
2025-07-17 12:42:22 +01:00
parent cef23778d5
commit c50b69e852
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -251,7 +251,7 @@ def report():
send_report_email(
report_data,
recipients = [email.strip() for email in settings.MAIL_RECEIVER.split(",")])
logger.info(f"Report sent successfully")
return ResponseHelper.success(message="Report sent successfully",status_code=200)
except Exception as e:
logger.error(f"Error generating or sending report: {e}")