.asp Sending Form Info To Email ?
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
ADVERTISEMENT
<%@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 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 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
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 developing an asp.net 2.0 application using visual studio 2005 on my
computer and I am getting very inconsistent results when I test on my
computer versus from other computers.
The symptom of the problem is that the web server does not receive cookie
information from the browser after I have properly logged in to the web
server. Without this information, my session state keeps on getting lost and
the authentication logic sends me back out to the login page.
Using Fiddler, I have narrowed down the problem to what I think is the
browser not always sending cookie information (containing the session and
authentication ticket) to the web server.
This is what I have tried:
1. If I run the browser on the same computer as the webserver, I see that
the cookies are sporadically not being sent from the browser for the .aspx
pages.
2. If I run the browser from a 2nd and 3rd computer and hit the web server
on the first computer, I see that the cookies are always being sent for the
..aspx pages.
3. If on the webserver I force asp.net to assume cookieless clients, my
browser on the same computer works fine since the "cookie" information is
part of the URL.
I haven't tried installing my dev environment on the 2nd or 3rd computers
and try to see how the browser behaves when hitting the new webserver. I am
trying to avoid that for now. But from my 1st computer, if I run the browser
against a totally different web application I have seen the same behavior in
my Fiddler logs. The browser sporadically does not send cookie information
to the server.
I suspect that it may be something specific to the IE browser on my
computer. Maybe there is some security program or setting that is causing
this issue on this computer and not others. Does anyone have any thoughts or
ideas on what this problem could be? I want to find out the problem to make
sure that when I deploy my web application, this issue does not resurface on
my user's computers.
View Replies
View Related
I have a SelectBoxes.asp page that is working with multiple selection
dropdown boxes to extract data and total the selection prices.
Tom & Bob were kind enough to give me a big help getting this page
working and it's working just fine, no problems with this page.
However I then would like this data e-mailed using jmail (my host insists
on this method) and that is the function of the sendEMail2.asp page.
This is failing and only giving me a HTTP 500 - Internal server error and
I'm at a loss as to what's wrong. Code:
View Replies
View Related
I am trying to construct a form that gives some basic info and emails it to me. Thats the easy bit thanks to the excellent tutorial from Dhtmlgod (?).
I have a email template with a custom Html footer that loads from global asa, I can get it to load in the email and send etc. but the form contents don't get shown.
What do I need to put in the template that will show the form contents and the custom footer.
View Replies
View Related
Currently I have online survey, which uses ASP and Access database. Now, I wanted a email send to the sender after they hit submit, what should I do? I don't know where to start! My server is running on WIN2000AdvanceServer.
View Replies
View Related
I have an html form where a serial # is entered and goes to an asp page to determine wether it is a res or comm number, then directs to another form where they can finish entering info to register the serial number. I want the second form to display the serial # entered in the first form. How do I do that??
View Replies
View Related
I have .asp page that have a form. When form is submitted it's stored in Database.
How can I make it also send an email like to some spesific address when the form is submitted?
I already have .asp file that is some sort of a mailer and it works. But what should that button Submit have to pass parameters into that .asp and still continue what it would be doing?
View Replies
View Related
I want to create something similar to what is on this site below in terms of the dealer location.
I don't even know what to call this form to be able to research it on the web or even on this site.
View Replies
View Related
how do i use the method=get command under the form string in html. How do I get it to display info? Sorry if i sound like an absolute noob its just something I've never used before.
View Replies
View Related
How can I get contents of a web form transferred to an ASP page. i.e. the form variables? I tried using Server.Transfer with the preserve form parameter set to true, but this created some wierd .NET framework error.
View Replies
View Related
i have been trying to get info from a form into a database on the server for months, i have one form page and one asp page that should send the data to the database on server heres is my code for both pages. here is the form page:
<form action="deantest.asp" method="POST">
<input type="text" name= "name" ><BR>
<input type="Submit" value="Submit">
</form>
and here is the asp page with the code that i use to put the form data into the data base.
<%dim strformfieldvalues
strformfieldvalues =request.Form("name")
response.Write ("your name is ") & strformfieldvalues%>
View Replies
View Related
I have a few queries regarding on email. Currently my web hosting provider uses Windows 2003 Server IIS 6.0 to host my ASP websites. In my own PC, I am also currently using Win XP Profession IIS 6.0 to run my ASP files.
I would like to create a pogram that would automatically sent out an email. But the problem is I have know that CDONTS do not work for Windows 2003 Server or XP Professional. It only currently work for Win 2000 Server.
Please help and perhaps show me the code of sending an email out automatically. Is there a code that can work for all servers?
View Replies
View Related
I have a form which will be processed by being sent to an ASP page. I would
like the ASP page to take the data from the Request.QueryString (which I
know how to do) and format it so I can have it emailed to me in a nicer
format. My problem is that I do not know how to have ASP send an email. I
know how to send an email using the mailto: protocol by making it look
something like the following:
MAILTO:username@mydomain.com?SUBJECT=mysubject?MES SAGE=mymessage
However, this will usually take the user to their default email client and
ask them to send an email by putting the specified subject and message in
for them, but wait for them to do any desired editing and click their send
button. I simply want the email to be sent straight from ASP. Is this
possible?
View Replies
View Related
Can anyone provide me with an example how I can send an email through ASP.NET!
View Replies
View Related
I have made a .asp file in order to send email to my Join Bytes!:
<%
Set mail = Server.CreateObject ("CDONTS.NewMail")
mail.To = "email@email.com"
mail.From = "mail@mail.com"
mail.Subject = "email subject"
mail.Body = "email body"
mail.Send
%>
The smtp function have been installed with the IIS, there is no error and the .asp seems running properly but I can't receive any email, any wrong?
View Replies
View Related
i have to do a project regarding employee transfer in which sending email to concerned employees yet to be transferred play a pivot role.
View Replies
View Related
I've been using CDO to send email from my web server for a while now but
today the emails aren't being sent. They are in the queue folder on my
server. I've restarted SMTP service but that didn't work. How can I get
these sent?
View Replies
View Related
how can send email using ASP?
View Replies
View Related
Im have made up a form that sends the information via email to an email address. Whenever I test the form though, the email does not display in HTML format. The email displays the html code but I want it to display as an html page.
View Replies
View Related
Set ObjMail = CreateObject("CDONTS.NewMail")
ObjMail.From = emlFrom
ObjMail.To = emlAddress
ObjMail.Subject = emlSubject
ObjMail.Body = emlBody
ObjMail.Send
Set ObjMail = Nothing
I recently upgraded my webserver from NT4.0 to Windows 2003 Web Edition. Now, the above code no longer works. It worked great on NT4
What do I need to do to make it work with my new server?
View Replies
View Related
I am trying to send an email to someone as the person clicks on a link...i have been trying the CDO, CDONTS, JMail and other methods but none of them work!!an example is as follows:
Set myMail=CreateObject("CDO.Message")
myMail.Subject="Sending email with CDO"
myMail.From="mymail@mydomain.com"
myMail.To="someone@somedomain.com"
myMail.TextBody="This is a message."
myMail.Send
I Im getting this error:
CDO.Message.1 error '80040220'
The "SendUsing" configuration value is invalid.
View Replies
View Related
I need a way to send an email using a normal HTML form and then taking those values and sending them to myself.
View Replies
View Related