Solved

Error when using CDO.Message to send email

Posted on 2004-08-16
2
827 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
Comment Utility
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
Comment Utility
alternately the url in CreateMHTMLBody  is not accessible. I see it as a machine name.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:  The Exchange of information …
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…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

744 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now