Can anybody tell me that how to send more than one file in attachment of email using java mail api.
In my case the number of attachment is not fixed. But i have to pick it up from one given location.
Like location of folder is : d:\backup
now in backup folder there may be more than one file, which i need to attach.