Ask a Question related to ASP.NET General, Design and Development.
-
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
Guest
-
CFMX6.0 and Exchange 2000 - SMTP issue
We're using CF MX 6.0 and Exchange 2000 Server on the same machine. Exchange 2000 Server has been installed in a later timeframe and now we are... -
2000 to 2003 +exchange enviroment
Hello and Help Brain power needed for the following I have a win2000 server running exchange 2000, and a new win2003 server running exchange... -
upgrade 2000 to 2003 in exchange enviroment...brain-power needed
Hello and Help I need some brain-power....on the following I have a Win2000 server running Exchange 2000.... I have a new server running on... -
Using Exchange Server 2000 to Authenticate
I am writing an ASP.Net application for my company. In order to access the site the user must log in. Authentication is handled by using the... -
ASP/CDO verify email address from Exchange 2000 non-delivery report
Apologies for the cross-post but i thought i'd aim for the largest audience possible. I have a web site that users have to register to with their... -
Wayne #2
Re: CDO for Windows 2000 vs CDO for Exchange 2000
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.Configuration
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.microsoft.com/cdo/configuration/smtpserver") = "fakesmtp.microsoft.com"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = cdoSendUsingPort ' CdoSendUsing enum value = 2
Flds("http://schemas.microsoft.com/cdo/configuration/smtpaccountname") = "My Name"
Flds("http://schemas.microsoft.com/cdo/configuration/sendemailaddress") = """MySelf"" <myself@microsoft.com>"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpuserreplyemailaddress")= """Another"" <another@microsoft.com>"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "domain\username"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds.Update
Dim iMsg as new CDO.Message
Set iMsg.Configuration = 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:%2312qqKvRDHA.2008@TK2MSFTNGP11.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
Wayne Guest
-
dave wanta #3
Re: CDO for Windows 2000 vs CDO for Exchange 2000
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
[url]www.aspNetEmail.com[/url]
<Tom> wrote in message news:<#12qqKvRDHA.2008@TK2MSFTNGP11.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,
> Tomdave wanta Guest



Reply With Quote

