Skip to content

Implementing sending timetout #54

@rochdi80tn

Description

@rochdi80tn

For some applications sending emails should be done in a timely manner, for instance when sending a validation code by email.
If for some reasons the sending process is not running mails will remain in the queue until the process() function is called. Which may happen a day later for instance. It would not be practical to send 1 day delayed validation code emails in our case.

I propose, as an enhancement, to add a public attribute to the class to define a timeout. The sending process shall then ignore all pending emails where the sentTime is less than now() - timeout

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions