michaellaunay / alirpunkto

0 stars 0 forks source link

Loss of Connection with the Mail Server #46

Closed michaellaunay closed 2 months ago

michaellaunay commented 9 months ago

Current Situation:

During testing, if the connection with the mail server is lost, the status of the application is changed without the user receiving an email.
This issue affects the user's humanity verification process (the mathematical challenge).

Proposed Solution:

Exception Handling: Implement robust exception handling for the mail sending function. If sending fails, the exception should be caught.
Resending: In case of failure, program repeated attempts to send the email at regular intervals.
Application Status Confirmation: Change the status of the application but notify the applicant of the issue, inviting them to return later and restart the procedure, which will trigger a new sending of the last email.
User Feedback: Inform the user on the portal about the failure of the email sending and the attempt to resend.
michaellaunay commented 2 months ago

Done