Thursday 16 February 2012

SIMPLE JAVA MAIL DEMO USING APACHE JAMES SERVER

Today (16.2.2012),


  I have done a simple demo for sending mail.
 I used James mail server. 


   I  have used Struts Validation Framework for email validation.
In the other aspects, it is just the routine Struts coding.


  This program is a sample application to 
develop the real mail application. After
 sending the mail you can check it in 


'..\james\apps\james\var\mail\outgoing'
folder.


  Suppose, you want to develop a real mail 
application, you have to do some  changes in
this code.


  I have given the code in my website.sites.google.com/site/sudharaj4j2ee