I built a form to collect users details, and noticed that a lot of sites these days have feedback emails that return a recieved email confirmation back to the customer.
Can anybody point me to, or allow me the code so that I can try it myself.
I'm trying to create a feedback form, but keep getting this message: "The requested method POST is not allowed for the URL". What exactly does this mean - do I need to turn POST on, and how do I go about this?
I'm trying to set up a basic email feed back form like this, and was wondering about some basic configuration settings. I have used code from this website. I have it working just fine. I'm running IIS on my home machine.
My problem is that I need to upload this stuff to a webhosting place and register a domain and I'm not sure what to put as the smtp mail server value in this script?
Currently I am with the Optusnet ISP and thus for the SMTP server i put
SmtpMail.SmtpServer = "mail.optusnet.com.au"
and then up towards the top of the script I have the contents of the form to be sent to the following email address,
objMM.To = "blah@optusnet.com.au"
[SIZE=3]My question is, what value to I put for SmtpMail.SmtpServer, when I upload this website to some webhosting place? Do I just put it as mail.webhostingplace.com.au or how do you know what to put for the SMTP server?[/SIZE]
I know this is basic and that many of you would have done it a million times before but I just don't know the answer to this and noone seems to be able to give me a straight answer.
Any help would be greatly appreciated. See the script below for what I'm currently using and working on my home machine running IIS.
I would like to write a generalised page which creates an email containg the (calling) HTML form complete with the user populated data.
In this way the appearance of the email will be just like the form elements of the form that called the generalised page together with the completed fields.
I can see that I can caputure the (blank) calling page itself in the email by using the CreateMHTMLBody method of CDO. I can also see how I can retreive the individual elements of the form using Request. But is it possible to combine the two?
On one of the sections I have a text field called IMO where the user may input text. Beside the IMO text field I have a button that will submit the value found in the IMO field if any to another asp page namely get_vessel_fields.asp.
I don't get any errors but nothing happens when I click the button.
<FORM><input type="text" name="IMO"> 'THis is the IMO field in question there are other fields in this form
Dim strIMO strIMO = IMO
<FORM><INPUT TYPE='button' VALUE='Pop' onClick='get_vessel_fields.asp?strIMO;return true;'></FORM> 'get_vessel_fields.asp will then process the value submitted
I have decided to purchase the dreamweaver ASP Upload. However, I have a question i want to ask:
1) Can ASP upload able to download and display excel file at the redirect page? This is important as all of the staff at my department uses excel spreadsheet instead of microsoft access.
I hope anyone out there will help me to reply as I not too sure if i should purchase the ASP upload as the best solution.
is it possible to insert the desired information into the default mail from a website? If the user clicks on a link then outlook express will popup and the address bar will be populated with a certain address and the subject is filled out also.
I have found out my webhost doesn't support CDO or CDONTS(Sun ONE Active Server Pages with SpikePack unavailable). So, my question, is it possible to write an ASP page to call their sendmail to sent email? Or will I have to do some quick learning on cgi?
I have a rather large form in HTML that needs to be sent as an email. The body of the email is approx. 400 lines (that's in HTML). Is it possible to somehow transfer the entire form to the asp mail script so that it automatically sets the body of the email to contain this form (with input)? Or do I have to write the body by hand in my asp script - like this:
line 001 Body = "<table><tr><td>some text & var1 & </td></tr> " ... ..
is it possible to rn a client side vbscript to send messages using cdo.message and cdo.configuration? what are the requirements to do this? my wks are xp and 2000 and all have cdosys.dll registered. do i have to have outlook express loaded.
i have workstations that don't have outlook but rather lotus notes and want to send email to an smtp server. these emails have local attachment thus the need to run client script versus server scripts. is this possible or am i on the wrong track.
i have a web site built using vbasic active server scripting running on iis (it works on either iis 50 and 60, but is designed for iis 50). i know how to create a plain text email by creating a text file, with content following certain format, and saving that file into the correct '..mailrootpickup' folder, and it is working fine.
what i would like to know is how to create and send an email in html format from my server script. i will appreciate anyone who can tell me where to find instructions on how to do this.
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.
I need help creating a form for my website. I want to use an ASP page. My form will contain a few text boxes for name, a dropdown list box, and will have a "browse" button so that users can upload documents/files. Would also like to add a confirmation ASP page upon successful form submit.
Just starting to play with scripts, and need a little guidance. I want to check to make sure that the email addresses users enter in a form are identical before it will allow them to submit. here's what i have:
the variable for the second email address is EmailFrom2
'validation Dim validationOK validationOK=true If (Trim(EmailFrom)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("emailerror.htm?" & EmailFrom) If (Trim(Name)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("nameerror.htm?") If (Trim(CityState)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("citystateerror.htm?") If (Trim(SchoolName)="") Then validationOK=false If (validationOK=false) Then Response.Redirect("schoolnameerror.htm?")
Set myMail=server.CreateObject("CDO.Message") myMail.Subject="subject" myMail.From="me" myMail.To=request.form("email") myMail.TextBody="hello" myMail.Send set myMail=nothing
this script sends emails to some addresses but not others--and its based on the email service it's sending to. for instance, hotmail email addresses get the email, but mail.com email addresses dont get the email. i have tried sending it to other email hosts, too, and still, some work, some don't. what is going on here?
I am trying to create a computer management form/web application. I am not a good programmer. I use sharepoint at work to do most of the tasks which are fairly automated.
Now the computer management form is designed this way: Code:
how to get started with this project. I want a page where a user can manually enter an order. Our users know our order# system and it's much easier to manually enter items as opposed to using a shopping cart and flipping through multiple pages. On the page would be the following.... 1) Billing address 2) shipping address 3) fields for order numbers
Billing and shipping seem pretty straight forward. Because I have no idea of how many products a customer will order, I'm picturing a new order# field being created when one is filled out. How do I do this?Then, assuming I get all these dynamically generated fields, how do I get them into an OrderDetails table?
I am trying to create a form where you may have more than one person at a meeting, but want to have them be related to the same meeting.
I have a mulitple select text area and if you select more than one, all the records are being added to the same row. so if I picked the following three people:
I run a small finance company and would like to add an online application form that potential customers could fill in.
at present all they do is email me asking for a loan, but if i could create some sort of form where they enter their details in each box, then click submit i think this would look alot more professional. Does anyone know of any tutorials or anything that may be able to help me along my way?
if i m the server, i had this feedback page whereby i need the user to type in the feedback in a textbox and then send it to mi. he must enter his email in a textfield and click on a button. issit possible to do that? without having to use outlook express to pop out??
I want 2 create a survey Web Form that people can fill in. I then want the data entered to be saved to an Excel spreadsheet located on a server.
Can .ASP handle this kind of task? and if so does anyone know the code required to perform this function?
The data entered will be RAW and the .ASP (or whatever required programming) will need 2 process and convert the data into the spreadsheet.
Also, would it be possible to run this from a stand alone machine so that the web form, .ASP and spreadsheet are all contained on the machine and have no outside influences?
I'm trying to create an input screen that allows users to create a hierarchical structure as the one below, but have no clue where to start or how to construct it. Code:
I have a feedback form on my site that processes the feedback into a SQL database and also sends an email to my inbox.
What I need is to create an administration asp page that retrieves the records from the database and displays them on the page and then have a mechanism on the page for deleting the records and refreshing the page.
Has anyone seen any examples posted on the forum or may be able to point me towards some useful links.
I have an application which sends emails. Currently we use the mailenable web server. If an email is not sent successfully then we want to update the email address in our database as unreacheable automatically.
In other words we want a mail server that when it gives up sending an email will do an http post, or will somehow communicate with our software so that we can update our database. if ther is a mailserver which will do this?
Im having problems with my form, separately both forms work perfectly, but having problem sending the email once submitted, however the upload fuction is working fine. The message im getting is,
Request object error 'ASP 0207 : 80004005'
Cannot use Request.Form
/forminfo.asp, line 42
Cannot use Request.Form collection after calling BinaryRead.
Would anyone be able to give some guideance in ASP code as to how I would repeat a section of input fields in a form based upon the number of guests that are attending an event?
Basically, what needs to happen is if 3 guests are attending, I need the Name, address, city, state fields to repeat so they can be filled in with information.
Then all of the information from the whole form is submitted which returns an email to the administrator of the event.