Author: demoninside9 | Posted on: 12/10/2009 2:15:26 AM | Views : 248

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 ...