472,353 Members | 1,715 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

Sending emails with CDONTs in Russian

I'm sending Russian text in an email generated from the website which
displays in the email as ??????????

The website is set to codepage 65001 and the charset to utf-8.

Please advise.

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Mar 17 '06 #1
4 4940

"Roger Withnell" <ro*********@THISupperbridge.co.uk> wrote in message
news:11*************@sp6iad.superfeed.net...
I'm sending Russian text in an email generated from the website which
displays in the email as ??????????

The website is set to codepage 65001 and the charset to utf-8.

Please advise.


Roger your question is a little abigous.

The web site is displaying the email or sending the email or both?

The email looks garbled when you view it in an email client?

What are you using to generate the email CDOSYS?

The session codepage only affects how response.write encodes.
Charset is simply a response header.

Neither impacts the creation of an email.

Anthony.


Mar 17 '06 #2

"Anthony Jones" <An*@yadayadayada.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

"Roger Withnell" <ro*********@THISupperbridge.co.uk> wrote in message
news:11*************@sp6iad.superfeed.net...
I'm sending Russian text in an email generated from the website which
displays in the email as ??????????

The website is set to codepage 65001 and the charset to utf-8.

Please advise.


Roger your question is a little abigous.

The web site is displaying the email or sending the email or both?

The email looks garbled when you view it in an email client?

What are you using to generate the email CDOSYS?

The session codepage only affects how response.write encodes.
Charset is simply a response header.

Neither impacts the creation of an email.

Anthony.

ASP page sends an email using CDONTS:

Set objMail = Server.Createobject("CDONTS.NewMail")
objMail.From = "Email"
objMail.To = vEmail
objMail.Subject = "Subject"
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = htmlText
objMail.Send
Set objMail = Nothing

htmlText is the page in html as a complete html page <html> to </html> It
includes
<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">
in the header.

This works fine (and has done for ages in other applications) in English.
But the Russian characters appear as ??????????

Perhaps I should be using CDOSYS? If so, can you point me to an appropriate
tutorial?

Thanking you in anticipation.

Posted Via Usenet.com Premium Usenet Newsgroup Services
----------------------------------------------------------
** SPEED ** RETENTION ** COMPLETION ** ANONYMITY **
----------------------------------------------------------
http://www.usenet.com
Mar 17 '06 #3

"Roger Withnell" <ro*********@THISupperbridge.co.uk> wrote in message
news:11**************@sp6iad.superfeed.net...

"Anthony Jones" <An*@yadayadayada.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

"Roger Withnell" <ro*********@THISupperbridge.co.uk> wrote in message
news:11*************@sp6iad.superfeed.net...
I'm sending Russian text in an email generated from the website which
displays in the email as ??????????

The website is set to codepage 65001 and the charset to utf-8.

Please advise.
Roger your question is a little abigous.

The web site is displaying the email or sending the email or both?

The email looks garbled when you view it in an email client?

What are you using to generate the email CDOSYS?

The session codepage only affects how response.write encodes.
Charset is simply a response header.

Neither impacts the creation of an email.

Anthony.

ASP page sends an email using CDONTS:

Set objMail = Server.Createobject("CDONTS.NewMail")
objMail.From = "Email"
objMail.To = vEmail
objMail.Subject = "Subject"
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = htmlText
objMail.Send
Set objMail = Nothing

htmlText is the page in html as a complete html page <html> to </html> It
includes
<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">
in the header.

This works fine (and has done for ages in other applications) in English.
But the Russian characters appear as ??????????

Perhaps I should be using CDOSYS? If so, can you point me to an

appropriate tutorial?

Thanking you in anticipation.


With CDOSYS this can acheive what you are after:-

oMsg.HTMLBody = "<html><body>HTML content with in it</body></html>"
oMsg.HTMLBodyPart.CharSet = "utf-8"

this should give you something to go on:-

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

Anthony
Mar 17 '06 #4
more on cdosys
http://www.powerasp.com/content/new/...ail_cdosys.asp

"Anthony Jones" <An*@yadayadayada.com> wrote in message
news:Ob*************@TK2MSFTNGP10.phx.gbl...

"Roger Withnell" <ro*********@THISupperbridge.co.uk> wrote in message
news:11**************@sp6iad.superfeed.net...

"Anthony Jones" <An*@yadayadayada.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
>
> "Roger Withnell" <ro*********@THISupperbridge.co.uk> wrote in message
> news:11*************@sp6iad.superfeed.net...
>> I'm sending Russian text in an email generated from the website which
>> displays in the email as ??????????
>>
>> The website is set to codepage 65001 and the charset to utf-8.
>>
>> Please advise.
>>
>>
>
> Roger your question is a little abigous.
>
> The web site is displaying the email or sending the email or both?
>
> The email looks garbled when you view it in an email client?
>
> What are you using to generate the email CDOSYS?
>
> The session codepage only affects how response.write encodes.
> Charset is simply a response header.
>
> Neither impacts the creation of an email.
>
> Anthony.
>

ASP page sends an email using CDONTS:

Set objMail = Server.Createobject("CDONTS.NewMail")
objMail.From = "Email"
objMail.To = vEmail
objMail.Subject = "Subject"
objMail.BodyFormat = 0
objMail.MailFormat = 0
objMail.Body = htmlText
objMail.Send
Set objMail = Nothing

htmlText is the page in html as a complete html page <html> to </html>
It
includes
<meta http-equiv=""Content-Type"" content=""text/html; charset=utf-8"">
in the header.

This works fine (and has done for ages in other applications) in English.
But the Russian characters appear as ??????????

Perhaps I should be using CDOSYS? If so, can you point me to an

appropriate
tutorial?

Thanking you in anticipation.


With CDOSYS this can acheive what you are after:-

oMsg.HTMLBody = "<html><body>HTML content with in it</body></html>"
oMsg.HTMLBodyPart.CharSet = "utf-8"

this should give you something to go on:-

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

Anthony

Mar 20 '06 #5

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

Similar topics

10
by: Stuart Mueller | last post by:
I have an exchange server, that I sometimes use to perform mail shots to clients on our database, these can be upwards of 1000 at a time. As we...
4
by: Francois Keyeux | last post by:
hello everyone: i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed...
5
by: BaWork | last post by:
I have a web form where a client can select which site members to send an email to. This form is populated from the contents of the member table,...
1
by: mark | last post by:
I need to send order confirmation emails through my asp.net storefront. With my Asp 3.0 sites I use cdonts with no issues. I've researched the...
1
by: Daniel | last post by:
Before writing a code to send a mail using asp.net, what steps have to be taken Like do some configuration ? coz i'm new to .Net your help will...
3
by: sagar | last post by:
i tried to send a email through asp using codes given on the book. but there is an error saying: ActiveX component can't create object:...
2
by: Joey | last post by:
I am currently developing a C# asp.net application where users are required to register. The application then generates a simple, plain text email...
3
by: Hugo Lefebvre | last post by:
Is there a maximum number of emails CDONTS can handle in an asp script? I have different questions about this. Question1: example1: set...
7
by: Jason1983 | last post by:
Hello sir, When iam trying to send emails to my user accounts which are gmail id's using my application it is giving me this error. Here is the...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
by: Rahul1995seven | last post by:
Introduction: In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...

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.