CreateMHTMLBody
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > IIS server support > IIS ASP > CreateMHTMLBody




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    CreateMHTMLBody  
Tom_Nolan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-27-04 11:17 PM


I am having some trouble with the ASP Script that I have written. It
will e-mail me Internet pages and HTML Code just fine, but when I try
to have it send an Intranet page, (which is in the same directory), I
get an error.

This code does not work.

myMail.CreateMHTMLBody
" file:\\mmcchapdc01\pcfiles\intraday\cent
er.htm"

This is what I get.

CDO.Message.1 error '800c0005'

The system cannot locate the resource specified.

/BMG_Web/reporting/test2.asp, line 7


However, these line all work (I use them 1 at a time.

myMail.HTMLBody = "You need to find a way to get the data to show up
here."

myMail.CreateMHTMLBody
"http://home.mcihispeed.net/~tom_nolan/index.html"

myMail.CreateMHTMLBody "http://www.mci.com"

myMail.HTMLBody = "<html><title><head>This is HTML
Code</head></title><body><h1>Center Update</h1>Here is a
table.<p><table border='1'><tr><th>Heading 1</th><th>Heading
2</th></tr><tr><td>Row 1 Data 1</td><td>Row 1 Data
2</td></tr><tr><td>Row 2 Data 3</td><td>Row 2 Data
4</td></tr></table><p>How does this look?</body></html>"

Does anyone have any ideas of what I might be doing wrong?
Thanks
Tom



--
Tom_Nolan
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:42 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register