i am using the following code in my asp and it works fine. i just need to add a subject line that displays "contact form". can somebody help me out? Code:
We have paid a designer to create our website here. I know it's not perfect, but it's done now, and that's the important thing. We are receiving quite a few information requests via the 'Contact Us' page, which is great, but 70% of them are coming through blank, which is strange because it is not possible to click 'Submit' without completing all the fields.
Do you have any idea how or why this might be happening? The worrying thing is that clients ARE fully completing the form, and the data is being lost somewhere? I'm afraid I don't know a lot about ASP or CDOSYS which is how the mail is set up, so you'll have to go easy on me.
I am trying to implement an asp captcha on a contact form. The form action is set to activate another page taht contains the script for mail. I found the captcha code from the web. I have tried to implement the code into my form but i am not having sucess. I am new to asp and vbscript and therfore i am out of my depth in finding a solution. I was wondering if anyone on this forum could help? Code:
I want visitors to be able to react on the website i'm making. I'm not an ASP-expert, but i've created a html contactform which sends it's data to a sendmail.asp-script. So far so good: i receive email.
What i don't like is that when the asp-script is executed a blank page is displayed and i would like to display a "Thank you-message" not in a new window but instead of the filled contactform. Again, i'm not an ASP-expert, but willing to learn.
I have a standard formmail contact form that I would like to customize the recipient on. In other words, I want to be able to specify the recipient in a string in some cases, but when it is not specified have it send to a default recipient. What's the easiest way do accomplish this?
I did an contact form page using asp, when we press the submit button the information r going to a mail id. i want to add an file upload to that page . i can use that , when i used it , the file is going to that mail id but i cannot download that file. can u tell me how can i do that?
I am new to asp i am facing in sending the contact form sending through email using cdosys the following is the code server space work on Microsoft Windows 2003 w/IIS 6.0.
When i press send button i get a error as The page cannot be displayed and HTTP 500 - Internal server error .....
I made an contact form, and an asp script for the email, but my messages get sent to the mail/queue folder in inetpub. I have a hunch it has something to do with the email address I put in the "from" area since it's just made up.
I'm using cdonts object, and registered the dll, and it works fine. I also opened port 25 on my router, and tested if it really was open, and it is. Code:
Can anyone take a look at this code and see where I may be going wrong?
************************************************** * html page: <form method=Post action=get.asp> valley secretary<br> <input type="text" name="t1" size="20"><p> <input type=submit value=Submit></form> ************************************************** * asp page: <% Dim t1name,t1 t1name = "valley secretary" t1 = Request.Form("t1") Dim ObjMail Set ObjMail = Server.CreateObject("CDONTS.NewMail") ObjMail.To = "kklimarchuk@supremecouncil.org" ObjMail.From = "kklimarchuk@supremecouncil.org" ObjMail.Subject = "Form Submission" ObjMail.Body = t1name & vbcrlf&_t1 ObjMail.Send Set ObjMail = Nothing Response.Write"Thank You" %>
Here are the two pages html and calling the asp. As you can see I am new to this. I also had our Network Admin make sure CDONTS was installed correctly on IIS. Any help would be awesome. I have been trying to create an email form for months now......
'Update configuration objConfig.Fields.Update Set objMail.Configuration = objConfig
objMail.From ="info@justonedomain.com" objMail.To = "kmuel@aol.net" objMail.Subject ="Information" objMail.TextBody="This is a test for CDO.message" objMail.Send
If Err.Number = 0 Then Response.Write("Mail sent!") Else Response.Write("Error sending mail. Code: " & Err.Number) Err.Clear End If Set objMail=Nothing Set objConfig=Nothing %>
Can anyone point out why this is not working? It should work.
I've implented a script that allows me to email a form using cdonts. How do I make a field an obligated field to enter data - for exemple a phone number if the phone number is the most important piece of data ?
I know this question is stupid. But i need some advice for this. I am trying to develop a website, which will allow the user send to order form to the admin email. I am planning to use the CDONTS component method. Can I just to localhost server to test, whether the form can be send up to the admin's email. Or I must have the Hosting server to do that. Can Anyone suggest me, how to I test my scripts can be successfully run (at localhost), before I host it on the Web Servers.
i recently finished a tutorial on cdonts and finished putting together the page and form etc. now ive been reading and it seems cdonts is being discontinued and cdosys is taking over. does this mean that my cdonts will not work and i have to trnasfer it to cdosys ?
how can i transfer it to cdosys ? or do i have to make a completely new mail script?
I have Road Runner cable internet access and Im working in a local development environment (writing .ASP) and have a site running on my network on a windows xp pro machine via IIS with CDONTS installed.
When I try to send a confirmation email (simple text) via CDONTS the message is built but remains on the server in the QUEUE folder ... how can I tweak the SMTP settings on the server to allow me to send email out from the server...
just the occassional test as I develop sites - not looking to spam and have a fairly full featured router to block external access to SMTP machine so its not abused.
im trying to work out basicly what i want to do his have a list of downloads and then at the top of the page have a form that has contact details that enables the download links and sends the details to an email address. is this possible and if so are there any scripts avaliable
i will be launching a site on which i will have a birthday reminder service along with some other features. Site is being made with the help of ASP and MS-Access. its birthday reminder service is a bit similar to that of birthdayalarm.com. Now if you go to www.birthdayalarm.com you will notice that when it gives you an option to add birthdays to your list, it allows you to get access to your msn list on that very site..a user just has to enter his msn id and password on that site and then it shows his full contact list, and then with just one click it can e-mail all those users in the contact list. I want that kind of a system with which users on my site can have access to their msn and yahoo contact list...after they provide their user id and password. Similar system is also integrated at www.friendster.com to invite friends. Does someone has any idea on how that thing can be made available on my site...any help would be greatly appreciated as its a really important part of my site.
I'm building a site which runs on 4 templates, each a different colour. I would like to pull in different content into each template using ASP.NET, similar to the php version of index.php?page=content.
I've not programmed in ASP before so am hoping someone can either supply me with a script or point me in the right direction.
I am having a problem formatting an email message which comes from a form.
I am currently having difficulty with the <br> tag which I am using for line spaces within my email. I am getting an expected statement error message which is pointing to the line which is underlined below. I can't think what is causing this.
How can i list out all the email address into my website from the hotmail caontact list? i am successful log in into the yahoo contact list by using serverxmlhttp and list out all the email address from the page source, but i could not access to hotmail by using the serverxmlhttp. Is any other methos can list out the email address from hotmail contact list?
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