Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi to all Xtremers,

:confused:

I am trying to send an email with the result of a form. some fields are currency. i can format it on my page, but when i email it the format is remove.

i format it like this String.Format("{0:c}",reader.Item("saleAmount"))

 

but the result of my emails is 11.114,00 ?

 

this is the way i define my mail properties

objEmail.To = MailTo

objEmail.From = From

'objEmail.Cc = txtCc.Text

objEmail.Subject = subject

objEmail.Body = Mailbody

objEmail.Priority = MailPriority.Normal

objEmail.BodyFormat = MailFormat.Html

 

the body of my email starts like this

Body = "<html><head><title>Encomenda</title><meta http-equiv='Content-Type' content='text/html; charset=UTF-8'>"

 

 

any idea to solve this?

thkx

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...