Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   asp send mail cdo error (http://www.velocityreviews.com/forums/t803207-asp-send-mail-cdo-error.html)

Mike 05-17-2007 02:55 PM

asp send mail cdo error
 
I patched lastnight. My cdo send email code worked until this AM.
The code has been working for months on my 2003 web server relaying to
my exchange 2003 server. I now get

error '80040211'
/Ricweb/standards/testemail.asp, line 35


Anyone have any information?







My code
<%
sch = "http://schemas.microsoft.com/cdo/configuration/"

Set cdoConfig = CreateObject("CDO.Configuration")

With cdoConfig.Fields
.Item(sch & "sendusing") = 2 ' cdoSendUsingPort
.Item(sch & "smtpserver") = "my mail server"
.update
End With

Set cdoMessage = CreateObject("CDO.Message")

With cdoMessage
Set .Configuration = cdoConfig
.From = "from@me.com"
.To = "my correct email address"
.Subject = "Sample CDO Message"
.TextBody = "This is a test for CDO.message"
.Send
End With

Set cdoMessage = Nothing
Set cdoConfig = Nothing

%>


Adrienne Boswell 05-20-2007 04:04 AM

Re: asp send mail cdo error
 
Gazing into my crystal ball I observed Mike <mike.drewery@gmail.com>
writing in news:1179413717.740888.62930@n59g2000hsh.googlegro ups.com:

> I patched lastnight. My cdo send email code worked until this AM.
> The code has been working for months on my 2003 web server relaying to
> my exchange 2003 server. I now get
>
> error '80040211'
> /Ricweb/standards/testemail.asp, line 35
>
>


Google for the error and you might find an answer.

--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share



All times are GMT. The time now is 03:58 PM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57