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.
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.
I 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.
According 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 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
I'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).
if 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?
My 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.
We 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?
I 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.
I have a mailserver that requires windows authentication for sending email. could you guys show me an example of how to specify user and password in CDO/CDONTS?
The use of CDONTS to send an email message to multiple receipients. I know I can use the BCC property to send it out. if I need to send out 1000 copies of the same email, will the BCC property work with respect to the huge amount of receipients, and also will this not create a massive delay causing the asp script to do a long wait (more than 10 seconds) which will cause the user posting this page to think that the page is stuck.
I am currently trying to have the CDONTS facility activated by my web-host (it has previously worked very well with another host, and is crucial to the site).
I have received the following reason for it not working : " there is already an e-mail server running on the server and when I try to start the 'Virtual SMTP Server' under IIS it fails. The e-mails from the web site are being sent to a local directory on the server but appear to be staying there as there is no transport to relay it further. As I explained there is already a mail server running on this server, is there a way of getting your web page to use this server to send. "
Can any one help with this??? Is another e-mail server running on the server hosting my site a reason for CDONTS not working? If so, is there a way round it??? Would J-mail be a better option?
I am using the CDONTS object to send email from my ASP page in HTML format. Now I am able to encode the body of the mail to Chinese characters but not the subject of the mail. can you please suggest me a way by which I can encode the subject of the mail to chinese character.
I have an ASP page which uses CDONTS (IIS W2K server) to send over 1000 emails from SQL Server 2000. I made some minor changes and it only now sends to about 20 records and stops. I can see it stopping in the logs (i.e. it gets to 24 and stops sending) it has about 4 errors of emails it cannot send because the emails don't exist anymore etc.
It is looping correctly through the recordset because I display a list of emails in the recordset. I have tried it with a dummy set of records all with the same work or hotmail account and it successfully sends to the 100 dummy records. I can't see anything in the system log other than the 4 failed emails.
I am utilizing CDONTs to e-mail. I have setup a form that when the user clicks on submit will update a database (this works). Now I want an e-mail to be genrated that will send the information to the usre as well as an adminstrator.
I have been able to get just the form to work with sending the information. The problem arises when I connect the form to the database.
I have a page that lets the users make contact groups and send an email to them. I have a form that lets the user enter the details of his message including his full name and his email address. Once this form is submitted, I do the following to get a string for .From property of the CDONTS mail object:
Now I stumbled upon a bug where if the user adds a title to his name (i.e.: "John Smith, MD"), the address for the recipient gets truncated where the comma is and the recipents can't reply as the address is now invalid. Is there a way to encode any special character in the string so that it will be mailer friendly?