CDONTS Error
I'am having similar problems and the resolution posted did not correct the problem here is the line my errors on Set fcLog = fso.GetFile(strCAPSLog).OpenAsTextStream(ForWriting, TristateUseDefault)
View RepliesI'am having similar problems and the resolution posted did not correct the problem here is the line my errors on Set fcLog = fso.GetFile(strCAPSLog).OpenAsTextStream(ForWriting, TristateUseDefault)
View RepliesCDONTS is not working on my webserver. IIS 5.0 Windows 2000
I am using this code
<%
Dim objNewMail
Set objNewMail = CreateObject("CDOnts.NewMail")
objNewMail.From ="webmaster@test.com"
objNewMail.To = "***@***.com"
objNewMail.Subject = "Test"
objNewMail.MailFormat=0
objNewMail.BodyFormat=0
objNewMail.Body = "<html><b>test test</b></html>"
objNewMail.Send
Set objNewMail=nothing
%>
But it gives me error
__________
Microsoft VBScript runtime error '800a0046'
Permission denied
/test.asp, line 11
_________
I have also referred this Microsoft KB but no help....
I have been using the CDONTS component on Windows 2000 to send emails for a
long time now (code below).
However, over time, the report that I am sending has got rather longer and
it now gives me an "unknown exception" error. However, I know that it's
because there's now too much data (If I remove some of the text it goes
fine).
I've "compacted" the message as much as I can, but I've got up to the limit
now of how much I can compact it by...
I've tried to write it to a file and attach that, but the same size limit
appears to hold for attachments too.
What to do....?
Using IIS4 on a NT4 system.... sometimesI get the following error:
Microsoft VBScript runtime error '800a0005'
Invalid procedure call or argument
Here is the code:
I have a very rare error with one of our Windows 2003 server. We have some componentes COM wich ones use the CDONTS in order to send mails. Well, one of our server get the follow error when we try to send the mail.
error '80004005'
Method '~' of object '~' failed
I know it's possible to have CDONTS over Windows 2003, and this article confirms it:
http://www.microsoft.com/resources/documentation/WindowsServ/2003/all/deployguide/en-us/Default.asp?url=/resources/documentation/WindowsServ/2003/all/deployguide/en-us/iisdg_dep_tnoc.asp
I have registered the cdonts.dll as the article dictates but I really don't know what can be happening with that server.. and I really appreciate any kind of help because that is one of our QA servers.
Currently, I have a form that a user can enter the subject line content and the email body content. They can then send the email which I have set up to use CDONTS. This works fine.
Now I want to add in the ability to attach a file (it will most likely be a MS Word document) to the email being sent out.
I would like to use CDONTS's AttachFile but it's not working for me. I've read up on it and it seems fairly simple except that I'm getting the following error message. Code:
Set Mail = Server.CreateObject("CDONTS.NewMail")
Mail.From = "myE-mailHere@myDomain.com"
Mail.To = "me@mycompany.com"
Mail.BCC= email
Mail.Subject = "Welcome to Kindis website"
Mail.BodyFormat = 0
Mail.MailFormat = 0
Mail.Body = "<h2>Hello</h2><br><b>This is my e-mail in HTML format</b>"
Mail.Send
Set Mail = Nothing <---- Line 121
%>
when i try sending the email i get this error:
CDONTS.NewMail.1 error '80020009'
Unable to connect to server
/kindis/register4.asp, line 121
does it have to be with the mail server im sending to or should i be including a file in this file?
I have just inherited a web site with ASP coding. There is a contact form that when submitted sends an e-mail to the administrator. The site was on a Windows server and is now on a Apache *nix server using Sun ONE ASP. I've included the code and error I am receiving. Some suggestions/directions would be much appreciated.
I also have included the original error and line of code I changed it from in case it was necessary?
ERROR 1
CDONTS.NewMail.1 (0x80020009)
Component is disabled
/thankyou.asp, line 61
Code:.....
I get the follow error on a linux box that is running sun asp:
CDONTS.NewMail.1 error '80020009' unable to connect to server
The error occurs when the Send Command is Executed. Here is my code:
Hey people,
I have just tested code I pulled from the chilli!Mail tutorial to email data via an ASP page.
It worked perfectly the first time the page was loaded, however now I am getting the following error:
Error Type:
CDONTS.NewMail.1, ASP 0220 (0x80020009)
This ASP file must be transacted in order to use the ObjectContext object.
/ContinuousImprovements/test.asp, line 29
I haven't seen this error before and am not too sure what it means, any help would be appreciated.
The code is below:...
I got an error saying
Microsoft VBScript runtime error- Error '800a000d'
Type mismatch
/briansforums/default.asp, line 923
also another error called Code:
I am not having any trouble getting cdonts to work, but damn is it slow. I have the importance set to 2, but sometimes it can take a whole day or more to get the email. Anyone, know how I can make this faster, or another freeware program to send mail faster.
View Replies View RelatedI am trying to use CDONTS to send an email and have the code below.
Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.From = "scottfrancisfrancis@hotmail.com"
Mailer.To = "scott.francis@eleco.com"
Mailer.Subject = "Segment Order Confirmation"
Mailer.BodyFormat = 2
BT = "Add order details here"
Mailer.Body = BT
Mailer.Send
set Mailer=nothing
I have declared the Mailer variable earlier in the code, the page runs through without any problems and redirects as it should but no mail gets sent. Can anyone see what I am doing wrong?
We jsut transfured our webhosts to another company, and the new servers are Win 2k3, well our others were Win 2k. I did not know that 2k3 did not support CDONTs.
I use the CDONTs for all the mail forms on our site. Is there any good turorial that have that are about CDOs? ALl i can find are CDONTs and CDOs with CDONT objects so that has been no help.
want to use CDONTS to sent my email. and i read this exellent thread:
How to use CDONTS
I have all kinds of forms with different names and values on different pages. How can i include all the fields of a submited form if they change name from form to form (or better yet, from page to page)?
I think that i would have to count the items and then include them in the form. but i don't know if that would work and how to do it.
Does anyone know of a FREE ASP hosting website that has CDONTS enabled?I want the page to be able to send e-mails.
View Replies View RelatedAccording to the ASP 3.0 Programmer's Reference published by Wrox Press (copyright 2000), CDONTs has several limitations. One is that it offers no built-in user authentication and security features.
Is there any easy way to use CDONTS and have security at the same time? If you have an e-commerce web site and send an email to the vendor with a customer's credit card number and expiration date, could that information be intercepted? Is it possible to prevent that using whatever a web host has available
I have a script that I've used elsewhere and it always
works fine. It uses CDO not CDONTS. IIS settings seem to
be the same as on other servers that have websites
running the same script.
When the form is submitted it runs until it gets to the
send line. Error says access denied. The script's access
is set the same as the rest of the site.
Getting very frustrating as I am out of my depth here.
Where do I start to correct this?
I would like to know if any one here know any sample examples or scripts that I can modify to work with a group mailing program. I would like to implement a form that uses CDONTS to grab the input and automatically emails to the given email.
i'm unable to extract user's full name as the 'From' section needs to be in the following format - "full name <email@dot.com>"
i was gonna use string concatenation but it dont like the symbol "<"
any help?
I have an urgent problem with ASP CDONTS right now.
This is my code:
Set Mail=Server.CreateObject("CDONTS.NewMail")
Mail.To="someone@somewhere.com"
Mail.Bcc="someoneelse@somewhere.com"
Mail.From="abc@abc.com"
Mail.Subject=Request.Form("subject")
Mail.Body=Request.Form("body")
Mail.Send
Set Mail=nothing
The mail is sent to someone@somewhere.com, but not the bcc address which is someoneelse@somewhere.com. Is my code wrong?
I have numerous forms processed using ASP and once they are added or amended I need to e-mail various locations to advise them that the form has been changed depending on the location in the form. This is not the problem a case statement does the biz and the SQL and databases are running like clockwork
The issue is that we have an exchange server but most of the e-mail adresses are internal only, so they have display names and aliases but as I can see no domain!!!! As I can see CDONTS only works with a domain. I have had a good search on the forum but I cant see a solution.
Is there another object that would work.If not is something out there that would the job, be it a VB Script or something else
I need to set up an online form that uses CDONTS to send information to different email addresses based on the user's selection in a drop-down box.There are five choices and each one needs to go to a different email address.I realize I there has to be an indexed array of emails, but I don't know where to start.
View Replies View Relatedused the following script but it won't send the email.
<%
Dim TBdy
Dim MyCDO
Set MyCDO = Server.CreateObject("CDONTS.NewMail")
MyCDO.From = "person@something.org"
MyCDO.To = "allstar@aol.com"
MyCDO.Subject = "collegebound info"
TBdy = Request.Form("cb_name")
MyCDO.Body = TBdy
MyCDO.Send
Set MyCDO = nothing
%>
I received an error 0x800A0046 Permission Denided
I am using Win2000 Sever with exchange2000 and ISA2000.
I am using CDONTS for users to send mail from a form. The first question is, when a user recieves the mail, [QUAR] is at the beginning of the subject line. Any ideas what that is? Second question, if one does not put a valid value for the FROM property, the e-mail won't send.
But I do not want users to be able to reply to this type of e-mail. What can I do? When I do a search for [QUAR] nothing comes up and I can't seem to find anything for the FROM property either.
I am using cdonts to send emails from my form to my email address, it works great. My question is, is that In my fields area, when someone does not fill them out, it brings them to a page, which says to fill out these fields and go back to the form, which is what I want, but when the form is correctly filled out, it brings them to a blank page, but I want it to bring them to a custom made thank you page, without it interfering with the fields error page, how do I accomplish this
View Replies View RelatedI've proven both systems on my asp server but I can't recognise the difference between them. I'd like to know which is the difference between them and which is better to send a big quantity of mails (I'm making a mailing list).
View Replies View Relatedif it possible using CDONTS?On my site,when a product is purchased from a supplier, an email is automatically sent to him, notifying him of the sale.
Would it be possible to have him return the email to confirm the order, and have that somehow go into my database (that the order was confirmed), and then sent another email to the customer to let them know that the order was confirmed?
If this isn't possible using CDONTS,how would it be possible?
Is there a limit on bcc field in CDONTS ?I'm trying to send mailing list using CDONTS and bcc field, so I would like to know what is the limit
View Replies View RelatedHow can I email a response to the person that signed up with a specific message - and - also mail another (different) message to the admin person?
View Replies View RelatedMy Web Hosting company runs Sun ONE Active Server Pages,without the SpicePack. So that means I do not have use of CDO or CDONTS.
Since they run Apache I do have access to linux sendmail feature.They have several examples how to send mail via perl or cgi but I was wondering is there a manner to wrap sendmail inside an ASP page?Also they don't support ActivePerl,so I can't even use pseudo ASP code and perl.
I want to write a small asp page which will send an email....I am planning to use CDONTS....Is CDONTS behaves same for Windows 2000, XP and Windows 2003. Can my page work without any other settings on all these 3 OS. or DO I need to setup something on each OS. ....what could be the best solution to send an email.
View Replies View RelatedWe use CDONTS from ASP quite a bit to send out e-mails. Everything works well "most" of the time. Sometimes, we find that the same e-mail gets sent out 2-3 times. Does CDONTS have any known problems we should know about. is this method a good one for sending out bulk e-mail, like 5-10,000 at a time?
View Replies View RelatedI have just started work on a system using CDONTS to mail out. Whilst this is fine on the server, my local development machine is using XP Pro with IIS5.1 installed. Is there a way I can get the functionality of cdonts so that I can test/develop on my local machine, preferably without actually sending any mail to the persons involved.
View Replies View Related