Hi all,
this is my code for sending mail with 5 attachments.
...........................................
...............................................
msgMail.Body = strBody;
msgMail.Priority = MailPriority.Normal;
if (txtAttachment.FileName.Trim() != "")
{
msgMail.Attachments.Add(new Attachment(txtAttachment.PostedFile.InputStream, txtAttachment.FileName));
}
else
{ }
if (FileUpload1.FileName.Trim() != "")
{
&nbs ...
Go to the complete details ...