473,385 Members | 2,005 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

SMTP for not only US

Hallo NG.

Within Framework 1.1 we send SMTP-mails the following way

System.Web.MailMessage mail = new System.Web.MailMessage();
mail.BodyFormat = System.Web.MailFormat.Text;
mail.BodyEncoding = Encoding.UTF8;
System.Web.Mail.SmtpMail.Send(mail);

If I now put asian special characters in Subject AND Body, then

View with Outlook-Express: characters are correctly diplayed.
View with Outlook: only Body is correct.
View with Lotus: Body and Subject correct displayed.

Am I missing some settings - and which one - so Outlook displays the
characters correctly, or is Outlook setup in a wrong way?
Regards,
flemming
Mar 29 '06 #1
3 1186
Flemming,

You have for me solved a problem (not such important, but I did not
understand it).

Probably can you use UrlEncode to solve your problem.

http://msdn.microsoft.com/library/de...ncodetopic.asp

The problem was that others had problems, that I did not have.

I hope this helps,

Cor
"flemming eriksen" <fl********@kabnosapma.com> schreef in bericht
news:um*************@TK2MSFTNGP11.phx.gbl...
Hallo NG.

Within Framework 1.1 we send SMTP-mails the following way

System.Web.MailMessage mail = new System.Web.MailMessage();
mail.BodyFormat = System.Web.MailFormat.Text;
mail.BodyEncoding = Encoding.UTF8;
System.Web.Mail.SmtpMail.Send(mail);

If I now put asian special characters in Subject AND Body, then

View with Outlook-Express: characters are correctly diplayed.
View with Outlook: only Body is correct.
View with Lotus: Body and Subject correct displayed.

Am I missing some settings - and which one - so Outlook displays the
characters correctly, or is Outlook setup in a wrong way?
Regards,
flemming

Mar 29 '06 #2
Cor.

I don't get your point.

Why does Outlook handle UTF-8 in a different way then Outlook-Express?
Come on MS-guys.

flemming
"Cor Ligthert [MVP]" <no************@planet.nl> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Flemming,

You have for me solved a problem (not such important, but I did not
understand it).

Probably can you use UrlEncode to solve your problem.

http://msdn.microsoft.com/library/de...ncodetopic.asp

The problem was that others had problems, that I did not have.

I hope this helps,

Cor
"flemming eriksen" <fl********@kabnosapma.com> schreef in bericht
news:um*************@TK2MSFTNGP11.phx.gbl...
Hallo NG.

Within Framework 1.1 we send SMTP-mails the following way

System.Web.MailMessage mail = new System.Web.MailMessage();
mail.BodyFormat = System.Web.MailFormat.Text;
mail.BodyEncoding = Encoding.UTF8;
System.Web.Mail.SmtpMail.Send(mail);

If I now put asian special characters in Subject AND Body, then

View with Outlook-Express: characters are correctly diplayed.
View with Outlook: only Body is correct.
View with Lotus: Body and Subject correct displayed.

Am I missing some settings - and which one - so Outlook displays the
characters correctly, or is Outlook setup in a wrong way?
Regards,
flemming


Mar 29 '06 #3
Flemming,

Did you try that UrlEncode, a very active regular in this newsgroup told me
that my sample was not complete, he has surounded it completely with
UrlEncode. He is from Austria, you are maybe a Scandinavian, I am Dutch we
don't have characters not in the base character set. (We have a connected ij
but that is in my Outlook as well showed connected, I don't know how that is
presented in yours). As well do we use some accents, but that is in a mail
seldom seen important here.

Cor
Mar 29 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Dan Boyle | last post by:
Hi, I am having difficulty connection to an smtp host. I am using the following code but I don't think I fully understand what smtp host can be used. function setSMTPParams($host = null,...
21
by: Nancy | last post by:
Hi, Guys, Is there any other way to use python or mod_python writing a web page? I mean, not use "form.py/email", no SMTP server. <form action="form.py/email" method="POST"> ... Thanks a lot. ...
0
by: Almir | last post by:
I hate this Net::SMTP stuff, everything works fine but for the suject field. I see no way of having it show in an email when sent. Has anyone had this problem, can anyone explain why there are no...
2
by: RandRace | last post by:
I'm having some problems with a little script i wrote using net::smtp. I originally wrote it in linux where it works perfectly. I tried to use it from windows the other day and it doesn't work. It...
3
by: Shannon Clyde | last post by:
SMTP + relay + auth in an IPSEC tunnel to connect to our primary SMTP mail server (GroupWise) from the Web server looks like it would work fine, but is it the best way? I am aware of CDOSYS and...
3
by: dale zhang | last post by:
Hi, I write an asp.net web application. It has a “Contact Us” page, where users fill in their email, subject and text and hit send. Then the email will go to my hard coded yahoo email...
1
by: bivin | last post by:
hai i am requesting your technical support. please help me. i have been working with this for five days. the problem is relating with the smtp. i am trying to send an email from the asp.net...
34
by: antonyliu2002 | last post by:
I've set up the virtual smtp server on my IIS 5.1 like so: 1. Assign IP address to "All Unassigned", and listen to port 25. 2. Access Connection granted to "127.0.0.1". 3. Relay only allow...
13
by: jcor | last post by:
Hi, I'm trying some code to send a mail with my script. This is it: #!/usr/bin/perl use Net::SMTP; my $smtp_server='62.193.245.15'; my $smtp = Net::SMTP->new($smtp_server) or die "Can't Open...
5
by: jimhill10 | last post by:
I have a perl script that creates an email attachment file from POST data on a web page. This works just fine. I want to customize the email body to contain all of the text data from the file...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.