Re: Reg: Downlaoded

  •  04-06-2010, 2:26 AM

    Re: Reg: Downlaoded

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