[thelist] CDO Mail Form - Unable to send?

P Chen info at designbychen.com
Fri Apr 2 15:32:53 CDT 2010


I'm troubleshooting basic send form functionality for a friend who is hosted
by cbeyondonline.net and am using the smtp server address and port given to
me by their support personnel, but even the most basic test message gives
the following error message. It is on a windows server.

Does anyone see any issues with the script below? 

Thanks for any help and insight as it's been quite frustrating,
Peter

--------------------------------------------
CDO.Message.1 error '80040213'
The transport failed to connect to the server.
/cdo.asp, line 25 
--------------------------------------------

Line 25 is the ".Send"

<!--
    METADATA
    TYPE="typelib"
    UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
    NAME="CDO for Windows 2000 Library"
-->
<%
    Set cdoConfig = CreateObject("CDO.Configuration")

    With cdoConfig.Fields
        .Item(cdoSendUsingMethod) = cdoSendUsingPort
        .Item(cdoSMTPServer) = "mail.cbeyond.com>"
        .Item(cdoSMTPServerPort) = 587
        .Update
    End With

    Set cdoMessage = CreateObject("CDO.Message")

    With cdoMessage
        Set .Configuration = cdoConfig
        .From = "from at me.com"
        .To = "info at designbychen.com"
        .Subject = "Sample CDO Message"
        .TextBody = "This is a test for CDO.message"
        .Send
    End With

    Set cdoMessage = Nothing
    Set cdoConfig = Nothing
    Response.redirect "confirmation.html"
%>



More information about the thelist mailing list