I'm using a Linux platform running Java Servlets and a MYSQL db.
Just need a point in the right direction i think..I can write a servlet to send an email easily enough, but I want to send these emails out at a specific time. For example:
User wants to be alerted at 2:10pm that their order is ready (though the time now is only 10am) - I want to send this email at 2:10pm.
I've had a think here is my first idea:
When a email is to be sent at a specific time, its details are inserted into the database with the time to be sent
Schedule a task in Cron to run a Java Application every ten minutes.
This java application reads from the database the emails which need sending.
This is obviously aimed at the education where Apple has lost so much ground to Chromebooks in the last few years, but unless they come up with a comparable management system for education why would anyone switch back?
MSN defined our generation in some ways, kind of like Snapchat and TikTok have done for future generations.
I have great memories of the MSN era in the late 90s / early 2000s. In the UK everyone seemed to come home from School and go on MSN for the evening. We didn't really have mobile phones then, so other than going and knocking on your friends door it was a totally new way of interacting with people. I also loved how I could talk to people I’d met playing online games from around the world.
Inviting people to NetMeeting and messing about with the shared white board and webcams was pretty fun, even if webcams only ran at a couple of fps over dial-up.
All the random things you could do with MsgPlus! were really fun - I suspect that made a few people jump with /shello randomly blasting Mr Hankey out their speakers!
Maybe I’m just nostalgic, however I do feel the internet and computers were more fun back then.
Question
WarStorm
Hi guys,
I'm using a Linux platform running Java Servlets and a MYSQL db.
Just need a point in the right direction i think..I can write a servlet to send an email easily enough, but I want to send these emails out at a specific time. For example:
User wants to be alerted at 2:10pm that their order is ready (though the time now is only 10am) - I want to send this email at 2:10pm.
I've had a think here is my first idea:
Is there a better way to this?
Cheers,
Greg
Link to comment
https://www.neowin.net/forum/topic/666428-java-send-email-at-specific-time/Share on other sites
1 answer to this question
Recommended Posts