Re: problem about cuteeditor tag "form" property EncodingType=html

  •  10-06-2008, 1:33 AM

    Re: problem about cuteeditor tag "form" property EncodingType=html

    Hi govind_rkdf,
     
    The enctype attribute of the FORM element specifies the content type used to encode the form data set for submission to the server.
     
    By W3.org, only the following Content types are supported:
     
    - multipart/form-data
    - application/x-www-form-urlencoded
    - text/plain
     
    Btw, are you trying to send HTML email instead of plain Text email?
     
    If so, please try the code below:
     
         SmtpMail.SmtpServer = "mail.CuteSoft.net";
         MailMessage mail = new MailMessage();
         mail.From = "[email protected]";
         mail.Subject = "test";
          mail.Body = "<b>Hello World</b>";
         mail.To = "[email protected]";
         mail.BodyFormat = MailFormat.Html;
         SmtpMail.Send(mail);
     
    Hope it helps
     
     
    regards,
     
    Ken
View Complete Thread