Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending Multiple attachments with Java Mail  RSS feed

 
Tony Mundy
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need the ability to send a variable number of attachments with JavaMail. I have written a program to send a mail with 3 attachments but am not sure how I would write one to send a variable number of attachments.
Any help greatly appreacited.
Tony Mundy
p.s. I have only been working with Java for 3 weeks.
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Tony Mundy:

p.s. I have only been working with Java for 3 weeks.

Its a pure programming technique and has nothing to do with API's..
Your previous programming experience shd help u to proceed further.
If you still need help, please explain the input scenario.so that I(we) can answer further.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!