Hacker News new | ask | show | jobs
by jsjohnst 2874 days ago
JavaMail API ;)
1 comments

Does that have the ability to call a specified callback function when an email arrives from a specified sender?
It’s a full framework for handling almost everything a MUA would do (imap/pop, email parsing, mime parsing, sending email, etc), so yeah, it can do that. You’ll have a bunch of boiler plate code you’ll need, but a Google search will give you plenty of samples.