i am working on making a social networking website .After a user is registered he/she must click an activation link on his/her registered email id.Can someone please give me the code to send an email from my server(tomcat) to any email id.I am allowed to use java based tech. only
I have the mail.jar and activation.jar in place in my eclipse IDE
Author and all-around good cowpoke
Joined: Mar 22, 2000
A Google search for "java mail api" will give you lots of examples.
My advice: DO NOT start by trying to code a servlet to send email, code a utility mail sending program that can be tested outside the servlet environment.