A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
Processing received emails with a servlet?
Joined: Jan 22, 2004
Jun 04, 2008 06:04:00
Is it possible to create a
1. Checks a POP mail server for new email
2. Retrieves that email
3. Extracts any attached files from the email
(then processes that file...)
If it is, can anyone point me in the direction of the APIs I'd need and, if poss, any sample code?
Joined: Sep 06, 2003
Jun 04, 2008 06:14:00
Joined: Aug 13, 2007
Jun 04, 2008 06:15:00
check javax.mail* packages...
i do not know whether this suffices your requirement or not
Winay Kumar<br />SCJP 5.0
Joined: Mar 22, 2005
Jun 04, 2008 06:17:00
Yes, all this is possible. The JavaMail API is what you would use. The
has various links to useful material, including a detailed JavaMail introduction courtesy of Sun.
I agree. Here's the link:
subject: Processing received emails with a servlet?
send email from servlet
Open the same browser window from a hyperlink in email.
servlet initialization in JSP
please send me code 4 email through servlets
how to send email in jsp?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015