473,592 Members | 2,893 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDONTS or CDOSYS UTF-8 Email

Jed
I have a form that needs to handle international characters withing the UTF-8
character set. I have tried all the recommended strategies for getting utf-8
characters from form input to email message and I cannot get it to work. I
need to stay with classic asp for this.

Here are some things I tried:

'CDONTS
Call msg.SetLocaleID s(65001)

'CDOSYS
msg.HTMLBodyPar t.Charset = "utf-8"

I included the following meta tag in the email HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

I also tried modifying the CharSet and CodePage of all involved Request and
Responses.

I was able to Response.Write the form content on post back to the screen and
it was properly rendered. However, none of my efforts can get the email to
render with the correct codebase. I have tried opening the email in Outlook
and Thunderbird. Neither one picks up on the UTF-8 charset meta tag.

Any help or link to tutorial would help so much.

Thanks.

Nov 8 '06 #1
10 19531

"Jed" <je****@newsgro ups.nospamwrote in message
news:B0******** *************** ***********@mic rosoft.com...
I have a form that needs to handle international characters withing the
UTF-8
character set. I have tried all the recommended strategies for getting
utf-8
characters from form input to email message and I cannot get it to work.
I
need to stay with classic asp for this.

Here are some things I tried:

'CDONTS
Call msg.SetLocaleID s(65001)

'CDOSYS
msg.HTMLBodyPar t.Charset = "utf-8"

I included the following meta tag in the email HTML:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

I also tried modifying the CharSet and CodePage of all involved Request
and
Responses.

I was able to Response.Write the form content on post back to the screen
and
it was properly rendered. However, none of my efforts can get the email
to
render with the correct codebase. I have tried opening the email in
Outlook
and Thunderbird. Neither one picks up on the UTF-8 charset meta tag.

Any help or link to tutorial would help so much.
Mixing charsets in a message is a real mine field. Try this before writing
any content to the message:-

oMsg.BodyPart.c harset = "UTF-8"

Where oMsg is a CDOSYS message object (CDONTS is deprecated don't write new
code against it).

That will make all text parts use UTF-8 encoding.

Anthony.

Nov 8 '06 #2
Jed
Hey, Anthony,

Thanks for the suggestion. I was optimistic about its potential, but it
doesn't seem to make a difference.

Here is my code:
msg.BodyFormat = 0 'Set body text to HTML=0 TEXT=1
msg.MailFormat = 0 'Set format to MIME=0 TEXT=1
'Call msg.SetLocaleID s(65001)
msg.Body = Message
msg.Send
'Try writing the contents to the browser to see if the string is bad
Response.Clear
'Response.CodeP age = 65001
Response.CharSe t = "utf-8"
Response.Write Message
Response.End

Basically if I post some a character like ú [u with an accent mark] it will
render fine in the browser, but the email it will appear as ú [A with tilde
over it, followed by a superscript o] I think that is the ANSII equivalent
or something.

I have read "The Absolute Minimum Every Software Developer Absolutely,
Positively Must Know About Unicode and Character Sets (No Excuses!)"
[http://www.joelonsoftware.com/articles/Unicode.html] but it doesn't seemed
to shed any light on why this isn't working.

Hmm..

"Anthony Jones" wrote:
Mixing charsets in a message is a real mine field. Try this before writing
any content to the message:-

oMsg.BodyPart.c harset = "UTF-8"

Where oMsg is a CDOSYS message object (CDONTS is deprecated don't write new
code against it).

That will make all text parts use UTF-8 encoding.

Anthony.

Nov 8 '06 #3
Jed
Actually, this is the CDOSYS code I tried.

msg.BodyPart.Ch arset = "utf-8"
msg.HTMLBody = Message
msg.HTMLBodyPar t.Charset = "utf-8"
msg.Send

I accidentally copied the CDONTS code in the last post.
"Jed" wrote:
Hey, Anthony,

Thanks for the suggestion. I was optimistic about its potential, but it
doesn't seem to make a difference.

Here is my code:
msg.BodyFormat = 0 'Set body text to HTML=0 TEXT=1
msg.MailFormat = 0 'Set format to MIME=0 TEXT=1
'Call msg.SetLocaleID s(65001)
msg.Body = Message
msg.Send
'Try writing the contents to the browser to see if the string is bad
Response.Clear
'Response.CodeP age = 65001
Response.CharSe t = "utf-8"
Response.Write Message
Response.End

Basically if I post some a character like ú [u with an accent mark] it will
render fine in the browser, but the email it will appear as ú [A with tilde
over it, followed by a superscript o] I think that is the ANSII equivalent
or something.

I have read "The Absolute Minimum Every Software Developer Absolutely,
Positively Must Know About Unicode and Character Sets (No Excuses!)"
[http://www.joelonsoftware.com/articles/Unicode.html] but it doesn't seemed
to shed any light on why this isn't working.

Hmm..

"Anthony Jones" wrote:
Mixing charsets in a message is a real mine field. Try this before writing
any content to the message:-

oMsg.BodyPart.c harset = "UTF-8"

Where oMsg is a CDOSYS message object (CDONTS is deprecated don't write new
code against it).

That will make all text parts use UTF-8 encoding.

Anthony.


Nov 8 '06 #4
Hello,

Is the CDOSYS code executed in an ASP application? You may try send a plain
text email intstead of the HTML email like:

msg.BodyPart.Ch arset = "UTF-8"
msg.TextBody = Message
msg.TextBodyPar t.Charset = "UTF-8"
msg.Send

Can you receive correct charactors in the email for plain text format?

Sincerely,

Luke Zhang

Microsoft Online Community Support
=============== =============== =============== =====
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscripti...t/default.aspx.
=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.

Nov 9 '06 #5

"Jed" <je****@newsgro ups.nospamwrote in message
news:C6******** *************** ***********@mic rosoft.com...
Actually, this is the CDOSYS code I tried.

msg.BodyPart.Ch arset = "utf-8"
msg.HTMLBody = Message
msg.HTMLBodyPar t.Charset = "utf-8"
msg.Send

I accidentally copied the CDONTS code in the last post.
Try this in a VBScript file:-

Option Explicit

Const cdoSendUsingMet hod =
"http://schemas.microso ft.com/cdo/configuration/sendusing"
Const cdoFlushBuffers OnWrite =
"http://schemas.microso ft.com/cdo/configuration/flushbuffersonw rite"
Const cdoSMTPServerPi ckupDirectory =
"http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirectory"
Const cdoSendUsingPic kup = 1

Dim oMsg : Set oMsg = CreateObject("C DO.Message")

Set oMsg.Configurat ion = CreateObject("C DO.Configuratio n")

With oMsg.Configurat ion.Fields
.Item(cdoSendUs ingMethod) = cdoSendUsingPic kup
.Item(cdoFlushB uffersOnWrite) = True
.Item(cdoSMTPSe rverPickupDirec tory) = "G:\temp\pickup " '*** change this
.Update
End With

oMsg.BodyPart.c harset = "UTF-8"

oMsg.From = "Du**@somewhere .com"
oMsg.To = "Bl***@elsewher e.com"
oMsg.Subject = "Testing"
oMsg.HTMLBody = "<html><bod y></body></html>"

oMsg.Send

MsgBox "Done"
Change the pick folder to a temp folder on your macine.

When executed open the resulting eml file in Outlook Express (double click
it). Does the appear correctly without other strange characters?

Open the eml file in notepad you should see something like:-

X-Receiver: Bl***@elsewhere .com
X-Sender: Du**@somewhere. com
From: <Du**@somewhere .com>
To: <Bl***@elsewher e.com>
Subject: Testing
Date: Sun, 12 Nov 2006 19:46:27 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_ 0001_01C70693.3 DE9F350"
Content-Class: urn:content-classes:message

This is a multi-part message in MIME format.

------=_NextPart_000_ 0001_01C70693.3 DE9F350
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: base64

wqPigqzFkg0K

------=_NextPart_000_ 0001_01C70693.3 DE9F350
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: 8bit

<html><body> </body></html>
------=_NextPart_000_ 0001_01C70693.3 DE9F350--

I deleted some headers for clarity. However you can see that by specifying
UTF-8 on the main message body part before writing anything to the message
has caused it to cascade the UTF-8 encoding to the alternative parts.

What happens you change the code so that the configuration sends using port
25 to your SMTP server and you specify your real email address as the
receiver. Does the email look ok when it arrives in outlook/thunderbird?


Nov 12 '06 #6
Jed
Thanks for the input Anthony,

I wrote out the email as you indicated and indeed the headers are UTF-8 but
the text is wrong:

This:
msg.BodyPart.Ch arset = "UTF-8"
msg.TextBody = Message
msg.TextBodyPar t.Charset = "UTF-8"
msg.HTMLBody = Message
msg.HTMLBodyPar t.Charset = "UTF-8"

Yields this:

------=_NextPart_000_ 0001_01C70806.B 7C0CB80
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: 8bit

------=_NextPart_000_ 0001_01C70806.B 7C0CB80
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

When I just set the BodyPart.Charse t = "UTF-8" and set the HTMLBody =
Message then I get the following text in the text version of the email.

=C3=83=C2=BA

Using Notepad++
Start in ANSI
Convert the chars above from Hex to Text
(Plugins TextFX Convert Hex to Text)
Then switch to UTF-8
You get the chars in the email

Then cut the characters
Switch to ANSI mode
Paste the characters
Switch to UTF-8
And you get the character that is supposed to be there.

I don't get it. Any ideas what I am doing wrong?
"Anthony Jones" wrote:
>
"Jed" <je****@newsgro ups.nospamwrote in message
news:C6******** *************** ***********@mic rosoft.com...
Actually, this is the CDOSYS code I tried.

msg.BodyPart.Ch arset = "utf-8"
msg.HTMLBody = Message
msg.HTMLBodyPar t.Charset = "utf-8"
msg.Send

I accidentally copied the CDONTS code in the last post.

Try this in a VBScript file:-

Option Explicit

Const cdoSendUsingMet hod =
"http://schemas.microso ft.com/cdo/configuration/sendusing"
Const cdoFlushBuffers OnWrite =
"http://schemas.microso ft.com/cdo/configuration/flushbuffersonw rite"
Const cdoSMTPServerPi ckupDirectory =
"http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirectory"
Const cdoSendUsingPic kup = 1

Dim oMsg : Set oMsg = CreateObject("C DO.Message")

Set oMsg.Configurat ion = CreateObject("C DO.Configuratio n")

With oMsg.Configurat ion.Fields
.Item(cdoSendUs ingMethod) = cdoSendUsingPic kup
.Item(cdoFlushB uffersOnWrite) = True
.Item(cdoSMTPSe rverPickupDirec tory) = "G:\temp\pickup " '*** change this
.Update
End With

oMsg.BodyPart.c harset = "UTF-8"

oMsg.From = "Du**@somewhere .com"
oMsg.To = "Bl***@elsewher e.com"
oMsg.Subject = "Testing"
oMsg.HTMLBody = "<html><body>£ </body></html>"

oMsg.Send

MsgBox "Done"
Change the pick folder to a temp folder on your macine.

When executed open the resulting eml file in Outlook Express (double click
it). Does the £ appear correctly without other strange characters?

Open the eml file in notepad you should see something like:-

X-Receiver: Bl***@elsewhere .com
X-Sender: Du**@somewhere. com
From: <Du**@somewhere .com>
To: <Bl***@elsewher e.com>
Subject: Testing
Date: Sun, 12 Nov 2006 19:46:27 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_ 0001_01C70693.3 DE9F350"
Content-Class: urn:content-classes:message

This is a multi-part message in MIME format.

------=_NextPart_000_ 0001_01C70693.3 DE9F350
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: base64

wqPigqzFkg0K

------=_NextPart_000_ 0001_01C70693.3 DE9F350
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: 8bit

<html><body> </body></html>
------=_NextPart_000_ 0001_01C70693.3 DE9F350--

I deleted some headers for clarity. However you can see that by specifying
UTF-8 on the main message body part before writing anything to the message
has caused it to cascade the UTF-8 encoding to the alternative parts.

What happens you change the code so that the configuration sends using port
25 to your SMTP server and you specify your real email address as the
receiver. Does the email look ok when it arrives in outlook/thunderbird?


Nov 14 '06 #7

"Jed" <je****@newsgro ups.nospamwrote in message
news:CE******** *************** ***********@mic rosoft.com...
Thanks for the input Anthony,

I wrote out the email as you indicated and indeed the headers are UTF-8
but
the text is wrong:
Before we go any further did you paste my code verbatim into a VBS? (Cos
what you posted below isn't what I posted)
Did you then open it in outlook express and did it look right?

This:
msg.BodyPart.Ch arset = "UTF-8"
Don't do this:-
msg.TextBody = Message
msg.TextBodyPar t.Charset = "UTF-8"
msg.HTMLBody = Message
Don't do this either:-
msg.HTMLBodyPar t.Charset = "UTF-8"

Yields this:

------=_NextPart_000_ 0001_01C70806.B 7C0CB80
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: 8bit

------=_NextPart_000_ 0001_01C70806.B 7C0CB80
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

When I just set the BodyPart.Charse t = "UTF-8" and set the HTMLBody =
Message then I get the following text in the text version of the email.

=C3=83=C2=BA

Using Notepad++
Start in ANSI
Convert the chars above from Hex to Text
(Plugins TextFX Convert Hex to Text)
Then switch to UTF-8
You get the chars in the email

Then cut the characters
Switch to ANSI mode
Paste the characters
Switch to UTF-8
And you get the character that is supposed to be there.

I don't get it. Any ideas what I am doing wrong?
It would help if I knew what character this is supposed to be? ?
What ANSI codepage are you using and what are the char codes for these
characters in that code page?
Are you certain the chararacter isn't already corrupted?
The fact that 4 octets have appeared in the output suggests to me that the
character is going through the UTF-8 encoding twice?
Is this in ASP?
Are you posting from a UTF-8 encoded HTML form?
>
"Anthony Jones" wrote:

"Jed" <je****@newsgro ups.nospamwrote in message
news:C6******** *************** ***********@mic rosoft.com...
Actually, this is the CDOSYS code I tried.
>
msg.BodyPart.Ch arset = "utf-8"
msg.HTMLBody = Message
msg.HTMLBodyPar t.Charset = "utf-8"
msg.Send
>
I accidentally copied the CDONTS code in the last post.
>
Try this in a VBScript file:-

Option Explicit

Const cdoSendUsingMet hod =
"http://schemas.microso ft.com/cdo/configuration/sendusing"
Const cdoFlushBuffers OnWrite =
"http://schemas.microso ft.com/cdo/configuration/flushbuffersonw rite"
Const cdoSMTPServerPi ckupDirectory =
"http://schemas.microso ft.com/cdo/configuration/smtpserverpicku pdirectory"
Const cdoSendUsingPic kup = 1

Dim oMsg : Set oMsg = CreateObject("C DO.Message")

Set oMsg.Configurat ion = CreateObject("C DO.Configuratio n")

With oMsg.Configurat ion.Fields
.Item(cdoSendUs ingMethod) = cdoSendUsingPic kup
.Item(cdoFlushB uffersOnWrite) = True
.Item(cdoSMTPSe rverPickupDirec tory) = "G:\temp\pickup " '*** change
this
.Update
End With

oMsg.BodyPart.c harset = "UTF-8"

oMsg.From = "Du**@somewhere .com"
oMsg.To = "Bl***@elsewher e.com"
oMsg.Subject = "Testing"
oMsg.HTMLBody = "<html><bod y></body></html>"

oMsg.Send

MsgBox "Done"
Change the pick folder to a temp folder on your macine.

When executed open the resulting eml file in Outlook Express (double
click
it). Does the appear correctly without other strange characters?

Open the eml file in notepad you should see something like:-

X-Receiver: Bl***@elsewhere .com
X-Sender: Du**@somewhere. com
From: <Du**@somewhere .com>
To: <Bl***@elsewher e.com>
Subject: Testing
Date: Sun, 12 Nov 2006 19:46:27 -0000
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_ 0001_01C70693.3 DE9F350"
Content-Class: urn:content-classes:message

This is a multi-part message in MIME format.

------=_NextPart_000_ 0001_01C70693.3 DE9F350
Content-Type: text/plain;
charset="UTF-8"
Content-Transfer-Encoding: base64

wqPigqzFkg0K

------=_NextPart_000_ 0001_01C70693.3 DE9F350
Content-Type: text/html;
charset="UTF-8"
Content-Transfer-Encoding: 8bit

<html><body> </body></html>
------=_NextPart_000_ 0001_01C70693.3 DE9F350--

I deleted some headers for clarity. However you can see that by
specifying
UTF-8 on the main message body part before writing anything to the
message
has caused it to cascade the UTF-8 encoding to the alternative parts.

What happens you change the code so that the configuration sends using
port
25 to your SMTP server and you specify your real email address as the
receiver. Does the email look ok when it arrives in
outlook/thunderbird?




Nov 14 '06 #8
Jed
Hi Anthony,

I have a good feeling that you will be able to help me get to the bottom of
this.

Let me answer your questions.

"Anthony Jones" wrote:
Before we go any further did you paste my code verbatim into a VBS? (Cos
what you posted below isn't what I posted)
Yes. I tried it exactly as you recommended then I tried some other things.
Did you then open it in outlook express and did it look right?
Yes. I opened the eml in outlook and it did not look right.
It would help if I knew what character this is supposed to be? ú ?
Yes. You are correct about the character code. I would have pasted it in
my message but I was not confident that it would come out right in the post.
What ANSI codepage are you using and what are the char codes for these
characters in that code page?
I don't know what ANSI code page Notepad++ uses. I am guessing the default
for my localization settings in windows.
Are you certain the chararacter isn't already corrupted?
I don't know, but when I write the results out to the web page using
Response.Write( Message) I get the correct characters.

Response.Clear
'I have heard you need the following, but it seems to
' render fine in the browser without it
'Response.CodeP age = 65001
Response.CharSe t = "utf-8"
Response.Write Message
Response.End
The fact that 4 octets have appeared in the output suggests to me that the
character is going through the UTF-8 encoding twice?
This is possible, I guess. I don't know.
Is this in ASP?
Yes. This is a classic asp page handling the request using the standard asp
ISAPI dll in IIS 6.
Are you posting from a UTF-8 encoded HTML form?
I believe so. I put the following in the HTML of the form page:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

Does that make any sense?

Nov 14 '06 #9

"Jed" <je****@newsgro ups.nospamwrote in message
news:5B******** *************** ***********@mic rosoft.com...
Hi Anthony,

I have a good feeling that you will be able to help me get to the bottom
of
this.

Let me answer your questions.

"Anthony Jones" wrote:
Before we go any further did you paste my code verbatim into a VBS? (Cos
what you posted below isn't what I posted)

Yes. I tried it exactly as you recommended then I tried some other
things.
>
Did you then open it in outlook express and did it look right?

Yes. I opened the eml in outlook and it did not look right.
Was that after you 'tried some things' or before?

It didn't contain simply a British pound sign ()?
How did the contents of the eml file create by my original code differ from
the contents I posted along with the code?

>
It would help if I knew what character this is supposed to be? ?

Yes. You are correct about the character code. I would have pasted it in
my message but I was not confident that it would come out right in the
post.
>
What ANSI codepage are you using and what are the char codes for these
characters in that code page?

I don't know what ANSI code page Notepad++ uses. I am guessing the
default
for my localization settings in windows.
Yes it uses the localization settings.

Are you certain the chararacter isn't already corrupted?

I don't know, but when I write the results out to the web page using
Response.Write( Message) I get the correct characters.

Response.Clear
'I have heard you need the following, but it seems to
' render fine in the browser without it
'Response.CodeP age = 65001
Response.CharSe t = "utf-8"
Response.Write Message
Response.End
Your problem I believe hinges around a couple of little understood facts.
The response.codepa ge affects the way posted characters received in the
Request are converted to unicode. IOW, if the response code page is set to
a standard ANSI character set then any characters received in a form post
will be assumed to also be in the same ANSI character set.

Here's another fact. A browser will encode characters into a Form post
according to the charset for the page. Hence a content-type specifying a
charset of UTF-8 will cause characters in the form fields to be encoded to
UTF-8 when posted.

Combining these facts we can see that if a UTF-8 page posts characters to an
ASP target which reads the form fields whilst the Response.CodePa ge is set
to an ANSI codepage this would result in each byte in a multibyte UTF-8
character to be treated as individual characters.

The code above hides this problem because Response.Write is assuming it is
sending ANSI but tells the page it is getting UTF-8 reversing the problem.

>
The fact that 4 octets have appeared in the output suggests to me that
the
character is going through the UTF-8 encoding twice?

This is possible, I guess. I don't know.
Is this in ASP?

Yes. This is a classic asp page handling the request using the standard
asp
ISAPI dll in IIS 6.
Are you posting from a UTF-8 encoded HTML form?

I believe so. I put the following in the HTML of the form page:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Yeah don't do that. Use the Charset and ContentType properties of the
response object.
Does that make any sense?
Yes. When receiving a Form post from a UTF-8 page make sure your
Response.Codepa ge is set to 65001 before you attempt to read any form
fields.

Anthony.
Nov 15 '06 #10

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

Similar topics

3
4717
by: BB | last post by:
For send mail from a web page is there any benefit in using CDOSYS over CDONTS? Are the methods the same? How do you Set the object? Thanks BB
7
5311
by: Gonzosez | last post by:
I have been using CDONTS for a while. Now I get the message Microsoft VBScript runtime error '800a0046' Permission denied anyideas?
4
4206
by: Steve | last post by:
objNewMail = Server.CreateObject("CDONTS.NewMail") How do I know whether the "Send" command from a CDONTS object actually was sent? Is there a status variable that can be checked? Or a log file that can be written to? Thanks in advance!
2
4772
by: David Morgan | last post by:
Hello I have been using the CDONTS.Newmail object for a number of years to send nicely formatted HTML Emails with inline images. I am now trying to switch over to using CDO and I cannot reproduce this functionality. I am using the AddAttachment method instead of the old AttachURL method but the attached images just show as separately attached files rather than in line in the HTML.
3
490
by: NohaKhalifa | last post by:
Hi All , I have a problem facing me using CDONTS Componet for sending mail . I have a form and i get data from it and send it to mail using CDONTS In HTML format . My Problem is that form contains arabic data and users can fill form with arabic data, when so happened the mail sent represent arabic data as "???????"
1
1595
by: Paxton | last post by:
Is it necessary to set field configurations for CDOSYS? I have yet to recode all my existing uses of CDONTS over to CDOSYS. In most of the sample code I've seen on the usual ASP sites, there is code to set field configurations for CDOSYS (usually using With... End With). However, in a number of CDOSYS-related code samples offered within this news group, the field configuration code is absent.
16
3157
by: tshad | last post by:
I have both cdosys.dll and cdonts.dll on my W2K3 server. We have been told by our web authors that their asp code won't work on our machine and that we don't have CDONTS installed on our machine. They're getting an error from: Set objCDOMail = Server.CreateObject("CDONTS.NewMail") I know that the new format is:
4
4134
by: Mac Davis | last post by:
Ive just learned that CDONTS is not available of Server 2003. So, I've been trying to make sense out of what I can read. I have succeeded in completely confusing myself. In one place Microsoft suggests that I can install CDONTS from Server 2000 but it doesn't suggest where I get CDONTS. Other reading suggests that CDOSYS is a much better solution. Although it is never explicitly stated, it is implied (or at least I infer) that CDOSYS...
1
2171
by: aRBee | last post by:
I got the all too typical Unable to access CDO.Message object error. I checked the registry for HKEY_CLASSES_ROOT\CDO.Message\CLSID and the default value was blank. I unregistered all CDO dlls: C:\WINNT\system32\cdosys.dll C:\WINNT\system32\cdonts.dll C:\WINNT\ServicePackFiles\i386\cdosys.dll C:\WINNT\ServicePackFiles\i386\cdonts.dll C:\Program Files\Common Files\System\MSMAPI\1033\CDO.dll C:\Program Files\Common Files\Microsoft...
7
2874
by: Paul | last post by:
I have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the functionality of cdonts so that I can test/develop on my local machine, preferably without actually sending any mail to the persons involved.
0
7935
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
7871
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8227
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6642
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
5735
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
3893
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2379
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1202
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.