Hi senthilkumart ,
Try this way, it works fine for me.
- MailMessage message = new MailMessage();
- foreach (AttachmentItem item in uploader1.Items)
- {
- Attachment attachemnt = new Attachment(item.OpenStream(),"p1.jpg","image/jpeg");
- message.Attachments.Add(attachemnt);
- }
Regards,
Ken