Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to perform click event at a specific date and time in asp.net?

Tags:

asp.net

I am generating a mail manager project in Asp.Net. I want that the mail should be sent when it is scheduled. One can create mail contents and then select date and time to send mail. The mail should be sent at that time only. How can I do it?

like image 239
Ami Avatar asked Nov 27 '25 14:11

Ami


1 Answers

That's not the responsibility of the UI at all. You're better off having the information gathered by the user stored somewhere (database, message bus, whatever) and then having another process, outside your asp.net app, manage the mail queue by querying it for any mail that needs to be sent every X refresh (e.g. every 15 minutes; every 10 minutes; every hour; every day; whatever fidelity you need based on the resources available and number of jobs expected).

like image 118
Paul Avatar answered Nov 30 '25 06:11

Paul



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!