Send J2ME Mail
Hi, most of you may have wondered how to send mail using J2Me. With the support of J2ME and J2SE, it becomes simple. If you have developed Standalone/Desktop mail sending applications before, this may be even easier. If not please reffer to the following article before http://ruchiram4.blogspot.com/2008/12/sending-mail-using-java.html I assume that you are familiar with J2ME basics (Sun Wireless Toolkit, Midlets) and have the basic knowledge in deploying an application in Tomcat Server. The architecture for sending J2ME is slightly restricted. You cannot have your own SMTP Server. So, the J2ME application works by first establishing a connecting with a website/service and passing the relevant values(Eg: Message Subject, To Address, Message Text) to it. In my case, I used Tomcat and created a Servlet to handle such requests. So, we have two applications running seperately. 1. The J2ME Mobile application 2. The J2SE Server Application On receiving the request, the Servlet would process a...