Discussions

Web tier: servlets, JSP, Web frameworks: coding to send emails in a web-app

  1. coding to send emails in a web-app (3 messages)

    i am coding a web-application in which i have to send an e-mail. i can't use "Emailer" and other classes ., (which are in javax.mail) bec i am using only web-server(tomcat 4.1), i dont have j2ee.jar. how can i code to send emails?? pls any one know send me a mail to ...sureshgsubramanyam@yahoo.co.uk
  2. download the java mail and activation files from sun as you dont need a full blown j2ee app server just the mail and activation framework jars
  3. You just need to have the mail.jar and activation.jar. You dont need J2EE for this.

    -Sanjay
  4. I would recommend using JavaMail as mentioned above, but if you can not for some reason, look into Sockets.