dcsimg
Problem with attachFile(String)
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, February 26, 2008 01:00 AM

Hi,

   I have a problem in attaching the file for the mail. I need to attach the pdf file. I am able to attach and send the mail from our development system which runs on Windows OS. But I got the following error while I am compiling the java file.

   cannot resolve the symbol.
   Symbol: method attachFile(java.lang.String)
   location: class javax.mail.internet.MimeBodyPart.
            
mbp2.attachFile( + "/test.pdf");

Thanks in advance.

Re: Problem with attachFile(String)

Posted By:   Anonymous  
Posted On:   Tuesday, February 26, 2008 01:06 AM

Sorry, I forgot to mention, our production system runs on Linux OS
About | Sitemap | Contact