• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Problem in Mail Attachemnt using JSP

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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).]
 
Do not set lab on fire. Or this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic