Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getFileBodyPart undefined for the type

 
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");
[ December 17, 2006: Message edited by: Bear Bibeault ]
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
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