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'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 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.
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 want an automatic email to send to a user when they register, the first page looks like this, i took away all the table information and what have you ....
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.
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?
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 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.
Does any one have working or sample scripts that will retrieve a form information and send that information to a specified email account? eg. a data request or a user comment form.
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%> <% Option Explicit Response.Expires = 0 'you need to set up a variable (declare variables) for each filed fron your form page ' what I like to do is use the exact same name and add str for string to the beginning of it.
Dim strFirstName Dim strLastName Dim strAddress1 Dim strAddress2 Dim strCity Dim strState Dim strZip Dim strEmail
' After you declare the variables you need to assign a value to each one. ' each variable will be assign the corresponding value being sent from the form 'If you need other form fields, declare them above and assign a value here, Just 'follow the same format......
I have a form when the end user hits submit it will go to email and database. What I am looking to do is if the user selects this particular checkbox it will go to both database and email. Otherwise it will just to the database. In the form below I am expecting the user to check the "sendback" checkbox if they want to send the email, if this checkbox is left blank it will simply add a new record in the database. See code below...
I am trying to create a form where when you click on the submit button, all the information in the form will be sent to the company email. And another form which content the thank you message will be sent to the client email. While doing i have successfully sent the message to both parties email. However, for both email there is no information written inside. Below is the code.....
I designed a website which has a form in one of the pages..What I don't know is what i am supposed to write as script to make the form work. I want when users fill out the form and hit the submit button, all data will be sent to an email.
I'm aware that I should be using cgi or asp. but dont know how the script will look like and where should I put it in the server.
I have a small shop on my web site and you order the products via a simple form. As an owner of the site, I want the order confirmations to be emailed to three email addresses, two adresses of mine plus one email to the person whoplaced the order. I donīt know how to fix this in the code though and that is my problem.
I can easily arrange for two of the addresses to get emails via the objMail.To command, so itīs when I try to add the buyers email that it gets weird.
That email address, Iīm getting through the form and the name tag "Emailaddress".
I tried to use the commands objMail.Cc and objMail.Bcc, but nothing happend and then I still only got emails sent to the addresses that I put in at the line objMail.To. Below is as far as I have gotten. If I put the three addresses like that and separate with a "&", I got all three email addresses right, but no space between them. So do you have any ideas on what character to use, to split these three addresses so that an email can be sent to all of them? Code:
We have created a new ASP file that will process a standard HTML form, write the data submitted in the form to a database table, and send us an email of the data submitted. All works OK except if we now send that form code as part of an email, the form appears OK at the receiver's end, but when you fill in the form, there is no data that is transmitted back to the asp file.
The ASP file acknowledges the receipt of the form, and all that, but there is no data in the email and no data in the table.
It is obviously something that is happening when it is sent as an email, but I have seen this sort of thing done before, with a form in an email, and I wonder if anyone has some clues as to what we need to do to make the form work properly when sent as an HTML email.
Basically I have a page and I would like to have several forms on this page where a user can input thier email address and a short comment, then click on send and i get n email with the details.
I know how to set up a basic form but I have no idea how to send it, can anyone help me and show me what to put where to set this up on brinkster please.
Oh and I would prefer to use ASP if thats possible.
I'm looking for an easy to follow (very little asp knowledge here) asp script that will take the info entered on a html form and send it to an email address in a formatted way.
Basically I'm looking for an asp version of formmail.pl ...
I currently have a form that is being used to spam.
I have implemented checks in my PHP files before to check against spam - if anyone can let me know if this will work for ASP sending aswell and what the correct functions would be in VBScript - it would be much appercited.
The first page you come to in my Web application is default.asp. This gives the user the ability to click on a drop down menu and choose a prior date ( to update or add info) or they may simply choose to add a new date and info. They click on submit and it sends the info to the database and opens up another page called updateproduction.asp. This page shows the results from default.asp plus other calculations. I have a button on updateproduction.asp that says "Send Email". When I click on that I want the user to be able to send a copy of the updateproduction.asp page to several email accounts. I currently have tried using CDONTS and can click on the "Send Email" button to send a test email with html (Simply "You have sent a successful email" in the body) with success.
If I can't send the asp page, is there a way to save the asp page to an htm page in the code? This would allow me to send a link out to everyone instead of the actual page.