i have problem with encoding

Discussion in 'ASP.NET / ASP.NET Core' started by fullhelp, Jun 15, 2005.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. fullhelp

    fullhelp Guest

    when i send mail in arabic languageby mail server, the message it not be able read
    but in english no problem
    i try to convert the encoding but i didnt find the arabic encoding
    my code is:



    email.To = [email protected]


    email.From = "[email protected]"


    email.Body = "mailtext"


    email.Subject = "mailSub"


    email.BodyFormat = Web.Mail.MailFormat.Html


    email.BodyEncoding = Encoding.UTF8


    System.Web.Mail.SmtpMail.SmtpServer = "Mail.myserver.com"


    System.Web.Mail.SmtpMail.Send(email)
     
  2. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

  3. Takeshi Eto

    Takeshi Eto DiscountASP.NET Staff

    To email from web applications from our webservers, the smtp host must be set to: localhost
    Using mail.yourdomain.com will not work

    After you fix the smtp host, if you continue to get errors then they are caused by something else. Please post the error and further troubleshooing can continue.

    DiscountASP.NET
    http://www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page