D
David C
I have an asp.net web page that is emailing and I need to handle multiple
attachments from a FileUpload control. I have the following code for
handling a single attachment. I am putting the file names into an array with
a semicolon in a hidden Label named LblAttachments for each filename
uploaded. For example "abc.doc;xyz.doc;...etc.
How can I do this? Thanks.
-David
If FileUpload1.FileName <> "" Then
mm.Attachments.Add(New Attachment(FileUpload1.PostedFile.InputStream,
FileUpload1.FileName))
End If
attachments from a FileUpload control. I have the following code for
handling a single attachment. I am putting the file names into an array with
a semicolon in a hidden Label named LblAttachments for each filename
uploaded. For example "abc.doc;xyz.doc;...etc.
How can I do this? Thanks.
-David
If FileUpload1.FileName <> "" Then
mm.Attachments.Add(New Attachment(FileUpload1.PostedFile.InputStream,
FileUpload1.FileName))
End If