Contact Form Sending Through Email Using Cdosys
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 .....
View Replies
ADVERTISEMENT
i just want to create a simple contact email form for my website. how should i do this?
View Replies
View Related
I used the below code to try and send an e-mail. On my local machine (XP machine) using IIS, the e-mail got generated and was placed in this folder.
C:InetpubmailrootQueue
So I am assuming the mail got generated correctly and the reason the e-mail did not get sent is that I do not have SMTP setup in my IIS. Do you agree with this statement? The reason I asked that is because I am not sure if I have SMTP setup or not in IIS and I am not sure how I check that.
To continue, I migrated my code up to the production web server and I tried executing it there. I have some display.write statements and they all were displayed so again, I am assuming the mail got generated correctly.
The problem is that the e-mail was not sent (or at least I am assuming it did not because I do not see the e-mail in my inbox).
I have never generated an e-mail before so this process is new to me. My code will be attached below but I was trying to understand some basic concepts.
-If I get my code to work on my local machine thru IIS, should it then also work in the production environment?
-It seems like I am calling so pretty specific components for the configuration settings. Is this the correct way to handle this?
-If you are familiar with this type of code, have I implemented this correctly? I would assume I have not since an e-mail is not getting set.....
View Replies
View Related
I want to send auto email using CDOSYS but in backdate. is it possible to set the date for an email? Code:
View Replies
View Related
I'm running a mailing list which has grown to around 5000 recipients. I'm currently using ASP to cycle through a database of recipients to send each a custom email with their name, unsubscribe link etc.
Currently I'm using CDOSYS to send the mail, and have set up a page to trigger the emails in batches of 50 so that they don't create blockages on the mail server.
Is it possible to queue emails with CDOSYS, since this would mean I could fire all the emails at once, safe in the knowledge that they will all be dealt with without a problem.
I've used the ASPEmail component before which does this, and it was very effective, but sadly it's not an option to use it on this domain.
View Replies
View Related
I am trying to send myself an email using cdosys. The error i get is:
CDO.Message.1 (0x80040222)
The pickup directory path is required and was not specified. my code looks like this: Code:
View Replies
View Related
i made this asp script that should email and insert the data into a database but somehow i don't think I've done it right. Code:
View Replies
View Related
Can someone please tell me if its possible to create an instance of CDOSYS (to send an emails) on one host and have the email sent from another host.. or are there obvious gaps in my understanding of what takes place when one tries to send an email using CDOSYS or CDONTS?
View Replies
View Related
I contacted my hosting people and they said they're running Windows 2003, which uses CDOSYS and not CDONT. So, I followed the advice on the sitepoint site for converting to CDOSYS and have concocted the following script: ....
View Replies
View Related
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?
Code: ....
View Replies
View Related
<%@Language=VBScript %>
<%option explicit%>
<%
MESSAGE = (Request.Form("type"))
MESSAGE=MESSAGE & vbcrlf & "Name" & (Request.Form("name"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("address"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("handphone"))
MESSAGE=MESSAGE & vbcrlf & (Request.Form("phonenumber"))
MESSAGE=MESSAGE & vbcrlf & vbcrlf & (Request.Form("comments"))
MESSAGE=MESSAGE & vbcrlf & vbcrlf
MESSAGE=MESSAGE & "____________________________________________"
Set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.From =Request.Form(email)
objMail.To = "icepricessa@hotmail.com"
objMail.Subject = "Business/Career Enquiries"
objMail.Body = ""&MESSAGE&""
objMail.Send
Set objMail = Nothing
%>
but somehow i'm not able to send the mail....
View Replies
View Related
I am quite new to using asp. I want to use it on a website to send email from a form.
I Found the following code on a website to help me. I have a local SMTP server installed. I have attempted to run this test form in a browser but i am getting the following error message.
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
/SendMail.asp, line 16
800401f3
Here is the code i am using:....
View Replies
View Related
It seems that my email form is working correctly but I dont receive an email. I look into the mailroot/Queue folder and see the emails.
For some reason the emails are not being sent off. I dont think its a problem with my email form... I think its a server configuration problem.
View Replies
View Related
Is there an easy way to use a form and send the info to an email address using ASP? I have tried using some free scripts but they don't want to work for me.
I am getting an error message that the form is empty. Maybe it would be better to program something from scratch.
View Replies
View Related
Can somebody tell me the link that have code that sends email to the user after form submission with verification key?
I would like to do email verification after form submission ....
View Replies
View Related
I copied a CDONT form from a simple request page I use on another web-site and made it more complex (or simply longer), but I am not receiving the emails anymore.
It takes the form and moves on the request received page without any errors, but the email never arrives I changed the email and I moved the form to a different server to no avail.....
View Replies
View Related
I am working on a little project and my knowledge of .asp is very small. From what I am looking at it looks like my form should be sending correctly. Can anyone help me out w/ some code for an sendfile.asp that could send this form information to an email address?
I am copying the exact html from the page onto here...sorry if its a little long its really only like 6 different inputs....
View Replies
View Related
i have fixed my code and there was no error at all, it executed well and the msg "The quote has been sent" appeared. But although it was working, but it seemed that it didn't really sent the Firstname and Address to the email. Why? here's my code :
View Replies
View Related
I am trying to send an email attachment using an asp VBscript from a .asp form. The script appears to be working fine however no email comes through to the recipient. I have tried the script without the attachment and it works fine. Code:
View Replies
View Related
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.
View Replies
View Related
i want to send an email from a web app with an attached file. the form is for users to enter email addresses to whom they want the attached file sent. I'm using ASP and CDONTS mail. Code:
View Replies
View Related
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:
View Replies
View Related
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.
View Replies
View Related
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:
View Replies
View Related
I am looking for a good e-mail contact form script for my bands website. Does anyone happen to know of any good free scripts for me to check out?
View Replies
View Related
i have a basic contact form on a website and im trying get an asp script to send an email off to the sites sales people.
View Replies
View Related
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.
View Replies
View Related
I am usually a CDONTS man but the hosting company say I must use CDOSYS. The following code seems to only work correctly when the recipients email address is the same as the sender address.
I have tried to send the email to Hotmail, Yahoo and GMail accounts and it does not send. No error messages, just is not received in the inbox of the account.....
View Replies
View Related
I need to be able to send emails from my webserver using ASP and I am using CDOSYS to do this. I have set up my Global.asa file as follows: Code:
View Replies
View Related
im using code below to send an email, let say sample is my company domain, when i try to put myMail.From and myMail.To as Lee@sample.com.sg, but when i try to put myMail.From and myMail.To as same as code below, it seems like never send ou the mail. Can anyone tell me what is the problem? Code:
View Replies
View Related
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?
View Replies
View Related
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?
View Replies
View Related
When I send htm mail to hotmail using cdosys the links appear like this " javascriptl("news01.htm"); " without quotes, the images appears in the worng place and they shows as attached, but when I send the same mail to Outlook there is no problem, the links and images apeears in the right place, there is no problem with it jus in hotmail or free web based application mail. (yahoo, gmail, hotmail, etc...)
Somebody Knows why??
View Replies
View Related