How to send mail with multiple attachments

i am sending mail with single attachment now i want to send mail with
multiple attachments please help me on this.

get the code that attaches the file and loop.

ps: try put some more info if you want more accurate responses