Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

CDO is driving me insane

Explorer ,
Feb 05, 2008 Feb 05, 2008

Copy link to clipboard

Copied

Hi All,

I'm trying to send an html file in an email using CDO in asp and it continues to return errors. I get this...

CDO.Message.1 error '80040218'

Unknown Error

/FACELIFT/safety/DoorManagement/rqst_email_send_approve.asp, line 13

I have another page in a different application that performs the same operation and yet... WORKS.
Any Ideas??

Here is the code:
TOPICS
Server side applications

Views

691
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 05, 2008 Feb 05, 2008

Copy link to clipboard

Copied

LATEST
http://classicasp.aspfaq.com/email/why-does-cdo-message-give-800c000d-errors.html

If the server is valid but the page cannot be found, you will 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 to send an html file in an email using CDO in asp and
> it
> continues to return errors. I get this... CDO.Message.1 error '80040218'
> Unknown Error
> /FACELIFT/safety/DoorManagement/rqst_email_send_approve.asp,
> line 13 I have another page in a different application that performs the
> same
> operation and yet... WORKS. Any Ideas?? Here is the 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 you for reviewing this
> 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>
>

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines