CDO is driving me insane
hi all,
i'm trying send html file in email using cdo in asp , continues return errors. this...
cdo.message.1 error '80040218'
unknown error
/facelift/safety/doormanagement/rqst_email_send_approve.asp, line 13
i have page in different application performs same operation , yet... works.
any ideas??
here code:
i'm trying send html file in email using cdo in asp , continues return errors. this...
cdo.message.1 error '80040218'
unknown error
/facelift/safety/doormanagement/rqst_email_send_approve.asp, line 13
i have page in different application performs same operation , yet... works.
any ideas??
here code:
http://classicasp.aspfaq.com/email/why-does-cdo-message-give-800c000d-errors.html
if server valid page cannot found, get:
cdo.message.1 error '80040218'
unknown error
--
ken ford
adobe community expert - dreamweaver
fordwebs, llc
http://www.fordwebs.com
"spirit_filled" <webforumsuser@macromedia.com> wrote in message
news:foa1et$lv5$1@forums.macromedia.com...
> hi all, i'm trying send html file in email using cdo in asp ,
>
> continues return errors. this... cdo.message.1 error '80040218'
> unknown error
> /facelift/safety/doormanagement/rqst_email_send_approve.asp,
> line 13 have page in different application performs
> same
> operation , yet... works. ideas?? here code:
>
> <%@language="vbscript" codepage="65001"%>
> <!--#include file="../../../connections/doormanagement.asp" -->
> <%
> str_rqst_id = request.querystring("rqst_id")
> str_rqst_url =
> " http://192.168.10.40/facelift/safety/doormanagement/rqst_email_results.asp"
> +
> str_rqst_id
>
> dim objmail
> set objmail = server.createobject("cdo.message")
>
> objmail.to = "emiller@frhs.org"
> objmail.from = "emiller@frhs.org"
>
> objmail.subject = "security verification"
> objmail.createmhtmlbody str_rqst_url
>
>
> objmail.send
>
> set objmail = nothing
>
>
> %>
> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en"
> " http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
> <html xmlns=" http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> <title>untitled document</title>
> <script language="javascript">
> function approve()
> {
> approvedeny.approvedeny.value = "approve";
> }
> </script>
> <link href="css/rqst_style.css" rel="stylesheet" type="text/css" />
> </head>
>
> <body>
> <table align="center" cellpadding="0" cellspacing="0" id="detail">
> <tr>
> <td id="tl"> </td>
> <td id="tm"> </td>
> <td id="tr"> </td>
> </tr>
> <tr>
> <td id="l"> </td>
> <td>
>
> <table width="350px" align="center" id="group">
> <tr>
> <td width="100%" align="center" id="title">thank reviewing
> key
> request.</td>
> </tr>
> </table>
>
> </td>
> <td id="r"> </td>
> </tr>
> <tr>
> <td id="bl"> </td>
> <td id="bm"> </td>
> <td id="br"> </td>
> </tr>
> </table>
> </body>
> </html>
>
if server valid page cannot found, get:
cdo.message.1 error '80040218'
unknown error
--
ken ford
adobe community expert - dreamweaver
fordwebs, llc
http://www.fordwebs.com
"spirit_filled" <webforumsuser@macromedia.com> wrote in message
news:foa1et$lv5$1@forums.macromedia.com...
> hi all, i'm trying send html file in email using cdo in asp ,
>
> continues return errors. this... cdo.message.1 error '80040218'
> unknown error
> /facelift/safety/doormanagement/rqst_email_send_approve.asp,
> line 13 have page in different application performs
> same
> operation , yet... works. ideas?? here code:
>
> <%@language="vbscript" codepage="65001"%>
> <!--#include file="../../../connections/doormanagement.asp" -->
> <%
> str_rqst_id = request.querystring("rqst_id")
> str_rqst_url =
> " http://192.168.10.40/facelift/safety/doormanagement/rqst_email_results.asp"
> +
> str_rqst_id
>
> dim objmail
> set objmail = server.createobject("cdo.message")
>
> objmail.to = "emiller@frhs.org"
> objmail.from = "emiller@frhs.org"
>
> objmail.subject = "security verification"
> objmail.createmhtmlbody str_rqst_url
>
>
> objmail.send
>
> set objmail = nothing
>
>
> %>
> <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en"
> " http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
> <html xmlns=" http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> <title>untitled document</title>
> <script language="javascript">
> function approve()
> {
> approvedeny.approvedeny.value = "approve";
> }
> </script>
> <link href="css/rqst_style.css" rel="stylesheet" type="text/css" />
> </head>
>
> <body>
> <table align="center" cellpadding="0" cellspacing="0" id="detail">
> <tr>
> <td id="tl"> </td>
> <td id="tm"> </td>
> <td id="tr"> </td>
> </tr>
> <tr>
> <td id="l"> </td>
> <td>
>
> <table width="350px" align="center" id="group">
> <tr>
> <td width="100%" align="center" id="title">thank reviewing
> key
> request.</td>
> </tr>
> </table>
>
> </td>
> <td id="r"> </td>
> </tr>
> <tr>
> <td id="bl"> </td>
> <td id="bm"> </td>
> <td id="br"> </td>
> </tr>
> </table>
> </body>
> </html>
>
More discussions in Develop server-side applications in Dreamweaver
adobe
Comments
Post a Comment