HI,
In my project,one module is to retrieve the images from the email attachement.
I got a bit of code from net.It is working fine.
And in my project,that code will run when the user clicks on a particular link,and the images from the email attachement will get retrieved and stored in the server.
Now i want to run this part of module,dynamically without any user interaction.
From the following link i got that codings:
http://www.builderau.com.au/program/java/soa/Getting_the_mail_in_receiving_in_JavaMail/0,39024620,39228060,00.htm Can anyone tell me how to run the mailretriever code dynamically?
Thanks a lot in advance.