• Post Reply Bookmark Topic Watch Topic
  • New Topic

getFileBodyPart... undefined for the type...  RSS feed

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gives me error :
method getFileBodyPart is undefiened for the type sendMail. sendMail is the name of my servlet.

Multipart mp = new MimeMultipart("alternative");
String textFile = (String)props.get("filenam");
BodyPart bp1 = getFileBodyPart(textfile, "text/plain");
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This feels like a JavaMail API problem. Moving to Other Java API's.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!