asp classic - CDO.Message.1 error '80040213' The transport failed to connect to the server. Local runs, Prod Server fails -
i have problem email.asp page. in local pc runs , send email (use telnet ok), but, in prod server fails ("connecting zimbra.xxx.xxx...could not open connection host, on port 25: connect failed"). error message "cdo.message.1 error '80040213' transport failed connect server.". searching information says "review server has port 25 open". how do ? open port in windows 2008 r2 server.
<%set imsg = server.createobject("cdo.message") imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/sendusing" )=2 imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/smtpserverport" )=25 imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/smtpserver" )= "zzz.zzzzz.zzz" imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" ) = 1 imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/sendpassword" ) = "pass" imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/sendusername" ) = "xxx@xxx.com" imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/smtpusessl" ) = false imsg.configuration.fields.item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60 ' new imsg.configuration.fields.update() imsg.from = "xx@xxx.com" imsg.subject= "web site " imsg.textbody= "..." imsg.to = "xxxx@gmail.com" imsg.send response.redirect "contact.html" %>
Comments
Post a Comment