473,545 Members | 1,884 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CDO for Windows 2000 vs CDO for Exchange 2000

How can I force SmtpMail class to use CDO for Windows 2000 instead of
Exchange 2000. We do not use Exchange at all. I want to do this because I
am having a problem sending email from the web server. If I send part of
the HTML email it will go through. If I send the whole HTML email then it
gets stuck on our email server at corporate with the error:

The message could not be sent to the SMTP server. The transport error code
was 0x800ccc6c. The server response was 452 Filesystem error - message not
accepted.

Our email admin is stumped on why I cannot send the whole email. I think
that it may be a problem with the version of CDO that .NET is using but I am
not sure. Any other ideas? I am at a loss right now on what to try next.

Thank you,
Tom

Nov 17 '05 #1
2 4526
As far as I know, Exchange uses the smtp service that comes with windows... so there is no version difference between Windows SMTP and EXchange SMTP..

Here is a coding excerpt from MSDN that I always use to connect to A mailserver directly, in stead of going through the local smtp service.

Dim iConf as new CDO.Configurati on
Dim Flds as ADODB.Field
Set Flds = iConf.Fields

' The full field name strings are used below to illustrate this process.
' The CDO for Windows 2000 type library contains string Modules
' that provide these values as named constants.
' Use these module constants to avoid typos and so on.

Flds("http://schemas.microso ft.com/cdo/configuration/smtpserver") = "fakesmtp.micro soft.com"
Flds("http://schemas.microso ft.com/cdo/configuration/smtpserverport" ) = 25
Flds("http://schemas.microso ft.com/cdo/configuration/sendusing") = cdoSendUsingPor t ' CdoSendUsing enum value = 2
Flds("http://schemas.microso ft.com/cdo/configuration/smtpaccountname ") = "My Name"
Flds("http://schemas.microso ft.com/cdo/configuration/sendemailaddres s") = """MySelf"" <my****@microso ft.com>"
Flds("http://schemas.microso ft.com/cdo/configuration/smtpuserreplyem ailaddress")= """Another" " <an*****@micros oft.com>"
Flds("http://schemas.microso ft.com/cdo/configuration/smtpauthenticat e") = cdoBasic
Flds("http://schemas.microso ft.com/cdo/configuration/sendusername") = "domain\usernam e"
Flds("http://schemas.microso ft.com/cdo/configuration/sendpassword") = "password"
Flds.Update

Dim iMsg as new CDO.Message
Set iMsg.Configurat ion = iConf

' ... compose message; add attachments, and so on.

iMsg.Send ' Configuration settings in Config object are used to send the message.

Wayne
<Tom> wrote in message news:%2******** ********@TK2MSF TNGP11.phx.gbl. ..
How can I force SmtpMail class to use CDO for Windows 2000 instead of
Exchange 2000. We do not use Exchange at all. I want to do this because I
am having a problem sending email from the web server. If I send part of
the HTML email it will go through. If I send the whole HTML email then it
gets stuck on our email server at corporate with the error:

The message could not be sent to the SMTP server. The transport error code
was 0x800ccc6c. The server response was 452 Filesystem error - message not
accepted.

Our email admin is stumped on why I cannot send the whole email. I think
that it may be a problem with the version of CDO that .NET is using but I am
not sure. Any other ideas? I am at a loss right now on what to try next.

Thank you,
Tom

Nov 17 '05 #2
Hi Tom,
IIRC (but don't quote me on this), the 452 error comes from naked line
feeds or naked carriage returns.

The SMTP protocol requires all lines to end with \r\n ( or vbCrLf ),
but some developers have the habbit of just doing \r or \n.

hth,
Dave
www.aspNetEmail.com

<Tom> wrote in message news:<#1******* *******@TK2MSFT NGP11.phx.gbl>. ..
How can I force SmtpMail class to use CDO for Windows 2000 instead of
Exchange 2000. We do not use Exchange at all. I want to do this because I
am having a problem sending email from the web server. If I send part of
the HTML email it will go through. If I send the whole HTML email then it
gets stuck on our email server at corporate with the error:

The message could not be sent to the SMTP server. The transport error code
was 0x800ccc6c. The server response was 452 Filesystem error - message not
accepted.

Our email admin is stumped on why I cannot send the whole email. I think
that it may be a problem with the version of CDO that .NET is using but I am
not sure. Any other ideas? I am at a loss right now on what to try next.

Thank you,
Tom

Nov 17 '05 #3

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

Similar topics

4
4960
by: Rui Oliveira | last post by:
How can I reinstall ASP in windows 2000 Server? Is possible reinstall it, without reinstall IIS? Thanks & Regards, Rui Oliveira
8
3682
by: Bob Everland | last post by:
I have an application that is ISAPI and the only way to secure it is through NT permissions. I need to have a way to login to windows authentication so that when I get to the ISAPI application no boxes come up. I want an ASP page to sit between the user and the ISAPI application. The rest of my application is using authentication that is...
6
2619
by: Jason | last post by:
Sorry for the post here but could not find an Exchange newgroup. I developed an application a year or 2 ago that sends SMTP email. The application allows the user to customize the text from address. is "My Custom Name" Jason@Yahoo.com. When the email was received into my companies Exchange 5.5 mail system the custom name was kept...
1
3500
by: Luis | last post by:
I use CDO to send an email to users as part of a 'Reset Password' functionality I have on a intranet site. I use: METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB- 00C04FB1625D" NAME="CDO for Windows 2000 Library" in my asp page to send the e-mail (via Exchange 2003). It works fine if I host the site on a Windows 2000 box, but I...
1
1819
by: Jim in Arizona | last post by:
I have no idea how to get started, really, but I am looking for a way to have an email sent via an ASP page via our Exchange 2000 server. I have a fairly simple asp page that displays data from a SQL 2000 database in the form of web links. A part of this page allows people to post links to the database for display. When someone posts a link,...
3
3586
by: Andyza | last post by:
My prod box consists of the following: - Windows 2003 Server - Exchange 2003 If I use cdoConfig to send emails from my .asp application do I need to include the following typelib on my .asp page if I'm running Exchange 2003: <!--METADATA TYPE="typelib" UUID="CD000000-8B95-11D1-82DB-00C04FB1625D" NAME="CDO for Windows 2000 Library" -->
1
3548
by: Arran Pearce | last post by:
I am wanting to create a web application which will use Microsoft Exchange Server. We currently use Exchange 2000 but if i needed it we would upgrade to 2003. Is 2003 going to provide easyer programming with C# (and DotNet in general) than 2000? If so i will wait a bit longer. thanks for any insights. Arran
1
2122
by: Rob | last post by:
Hi all, I have done a lot of researching on the above topic and the only think I now know for sure is that I have to use either CDO or MAPI. What I need to do is this: I want to write a C# desktop application that will connect to the exchange server and retrieve mail from an inbox. The features are as follows: 1) I need to be able to...
0
1379
by: Jayme | last post by:
My company would like to implement an online calendar that integrates with our current website that would allow our clients to view upcoming workshops and events. These "appointments" are currently entered by the event coordinators into a public calendar on our Exchange 2000 server. Our Exchange 2000 server and our Internet server exist on...
0
7410
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...
0
7668
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7923
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...
1
7437
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
5984
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 project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5343
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...
0
4960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3466
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.