Hi
I am beginner to C Sharp. trying to attach a multiple files to a mail.
I can attach a single file or i can create multiple object of an Attachment class and add to a mail attachment object.
But when i want to do it dynamically to attach multiple file...say my code might be generating one or more files depending on the result set...
I have a temporary variable will keep track of no. of attachments and their path.
Only problem I am facing is to add the files to attachment class dynamically...
Any tips or an example in this will be of grt help to me....
Thanks