Solved

Error when using CDO.Message to send email

Posted on 2004-08-16
2
830 Views
Last Modified: 2008-03-10
Dear all,      
        I am trying to run this code in order to send the report to the intended email recipients.  However i receive this error message.
CDO.Message.1 (0x80070005)
Access is denied.

<%
Set objCDO = Server.CreateObject("CDO.Message")
objCDO.To = strTo
objCDO.From = strFrom
objCDO.CreateMHTMLBody "http://cbpit/JbA/report.asp?d1=01&m1=08&y1=2004&d2=31&m2=08&y2=2004", 0
objCDO.Send
Set objCDO = Nothing
%>

How to fix this error? Please advise. Thank you.

Eliza
0
Comment
Question by:elizateh
2 Comments
 
LVL 22

Accepted Solution

by:
neeraj523 earned 125 total points
ID: 11817908
Hello

There seems problem with the IUSER rights to use CDO components..

Have a look at realted question..

http://www.experts-exchange.com/Web/Web_Languages/ASP/Q_20876240.html

hope it will help you out..

neeraj523
0
 
LVL 4

Expert Comment

by:Tasneem
ID: 11817951
alternately the url in CreateMHTMLBody  is not accessible. I see it as a machine name.
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question