Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Kiran Badi
On 6/19/2012 11:09 PM, Mark Eggers wrote: If I remember correctly, you're using NetBeans. There are at least two ways of removing the JAR from the packaging without impacting your project. If you're using the NetBeans standard build mechanism: 1. Go to Project->Properties->Libraries 2. Uncheck

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Mark Eggers
- Original Message - > From: Kiran Badi > To: users@tomcat.apache.org > Cc: > Sent: Tuesday, June 19, 2012 7:40 AM > Subject: Re: Javamail exception in tomcat 7.0.11 > > On 6/19/2012 11:23 AM, Tim Watts wrote: >>> I have send mail servlet, wh

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Kiran Badi
On 6/19/2012 9:55 PM, Pid * wrote: Unfortunately you've completely omitted the code for setting the session object, so we can only guess why it's not working. Yup Pid, I realized it later on when Tim highlighted it.Its fixed now.Thanks I am able to send mail comfortably. --

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Pid *
On 19 Jun 2012, at 06:24, Kiran Badi wrote: > Hi All, > > I have send mail servlet, which looks something like below, > > protected void doPost(HttpServletRequest request, HttpServletResponse > response) throws ServletException, IOException { > String emailRecipient = request.getParameter(

Re: Javamail exception in tomcat 7.0.11

2012-06-19 Thread Kiran Badi
On 6/19/2012 11:23 AM, Tim Watts wrote: I have send mail servlet, which looks something like below, > > protected void doPost(HttpServletRequest request, HttpServletResponse > response) throws ServletException, IOException { > String emailRecipient = request.getParameter("name"); >

Re: Javamail exception in tomcat 7.0.11

2012-06-18 Thread Tim Watts
On Tue, 2012-06-19 at 10:54 +0530, Kiran Badi wrote: > Hi All, > > I have send mail servlet, which looks something like below, > > protected void doPost(HttpServletRequest request, HttpServletResponse > response) throws ServletException, IOException { > String emailRecipient = request.ge

Javamail exception in tomcat 7.0.11

2012-06-18 Thread Kiran Badi
Hi All, I have send mail servlet, which looks something like below, protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String emailRecipient = request.getParameter("name"); // String emailRecipient = "xxx";