File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes Problem in Mail Attachemnt using JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Problem in Mail Attachemnt using JSP" Watch "Problem in Mail Attachemnt using JSP" New topic
Author

Problem in Mail Attachemnt using JSP

R SundaraPandian
Greenhorn

Joined: Jan 16, 2001
Posts: 8
Hi,
I am gettting strange problem.Can some one help me..Please.
When I 'm suing the below code for sending mail and attachment,
I am using this code insidea component which will send mail.
To use that bean I ma using Usebean tag and using the bean
with session scope.
I could able to send the attachement.
Even after I send the mail,if i try to send another mail without
attachement,this program takes the same attachment for the next
mail,whic I intend to send with out attachment Why..
But,after attching and Transport send I ma making the file descriptor
and file Handler to point a null.
But I couldn't able to get the solution.

added UBB CODE tags to maintain code formatting
[This message has been edited by Frank Carver (edited February 28, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in Mail Attachemnt using JSP
 
Similar Threads
Error in sending attachment in JSP
Error in Sending Attachments using jsp
Error in sending attachments in JSP
Sending mail through Exchange Server
JAVAMAIL