Thursday, March 29, 2012

MailMessage.BodyEncoding

Hi,

I'm trying to change Encoding of an e-mail I'm sending after user submits
the form.
User can enter some special characters , so I need to send e-mail with
Central European encoding >> windows-1250.

Please help me ...

Thanx, NevenHave you tried:

MailMessage.BodyEncoding = System.Text.Encoding.GetEncoding("windows-1250");

Here is a good alternative:
http://www.quiksoft.com/emdotnet/smtp/

"Neven Klofutar" <neven.klofutar@.public.srce.hr> wrote in message
news:OUj96CRsEHA.3324@.TK2MSFTNGP15.phx.gbl...
> Hi,
> I'm trying to change Encoding of an e-mail I'm sending after user submits
> the form.
> User can enter some special characters , so I need to send e-mail with
> Central European encoding >> windows-1250.
> Please help me ...
> Thanx, Neven

0 comments:

Post a Comment