Send Form Info To Multiple Database Emails?

I have two forms, one on each page. The user fills the first, then the second, then on the third page all the information is displayed for the user to make sure thats what they want to send.

Then they click submit on the third page and it goes through a database and depending on which category, state and county the user selected it will email all the information displayed on that third page to all the emails in the Email field in the database.

Now, I already have the first and second pages(easy enough) and the third page I can get it to display all the info how I want it and now I need to know how to go about emailing that info to the emails that match the specific fields? Right now all I have it doing on the third page, instead of submitting it for emailing, it just displays the info from the forms AND emails that match from the database. Code:

View Replies


ADVERTISEMENT

CDONTS To Send Order Form To Emails

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.

View Replies View Related

Multiple Emails In Form Submission

I am having a problem with a form that I created. (Done in ASP)

What I am trying to accomplish is this:

A form gets filled out on the web.
The form then gets submitted to at least 2 email addresses, sometimes 3 or 4.

I have noticed that the form makes it to the first 2 email addresses listed, but never any more than that.

Here is the part of the code where I am adding the email addresses:

.To = "email1@address.com;email2@address.com"
'.From = Request.Form("emailfrom") - This line is commented out
.From = "email1@address"
.Subject = "Lease Application - Lease Rep"

That code seems to work fine and the 2 recipients get the form data.

When I add more email addresses to the .to section, it never gets to those recipients. (I am using Semi-Colons to seperate the email addresses)

Here is how I have been adding extra emails to the form:

.To = "email1@address.com;email2@address.com;email3@customer.com"
'.From = Request.Form("emailfrom") - This line is commented out
.From = "email1@address"
.Subject = "Lease Application - Lease Rep"

When I add any more than 2 emails, the form never gets to those intended recipients.

View Replies View Related

How Can I Send An Instant Confirmation E-mail Based On Form Info?

I have a form where the visitor should enter the e-mail adress, a password and some additional info. When the form is submitted I want to automatically send a confirmation e-mail to the visitor, containing the information from the form (like the procedure when joining this forum :-)). Is it possible to achieve that with ASP? Would be very grateful if anybody can finish the code below... because I don't know how to handle the variables after I have retrieved the form info..

This is enterinfo.htm.....

View Replies View Related

Is It Possible To Send An Instant E-mail Confirmation Based On Form Info?

I have a form where a visitor can enter som information, in this case the e-mail adress, password and some additional info. As soon as the form is submitted I want to send an automatically generated e-mail confirmation to that user's e-mailadress (like the procedure when joining this forum for the first time). When I have retrieved the info from the form in the "confirm.asp" I don't know what to do....

View Replies View Related

Info From A Form Into A Database

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

Adding Info From A Form To Access Database

Except for extremely basic ASP programming that I did two years ago and have forgotten I have not touched coding since!

I've taken a look at a couple of tutorials but they all baffle me!

Can anyone tell me how I can just create a simple html form with input fields of FirstName, LastName, Email and Phone amd when the user hits submit it is recorded in an access database?

I can do the HTML part fine. And I believe I've set up access ok although Ive never used it before.

Also, if the server that the database will go on is a Microsoft one i suspect that is ok? Im not sure if all i have to do is upload the database and it will work? or do i need to talk to my hosting company to set up some kind of odbc thing that ive heard about?

My database will just be called clients.mdb and the table is called Customers.

View Replies View Related

Getting ASP To Send Emails

Anyone have any pointers as to how i could get asp to send some simple emails?

View Replies View Related

Send Emails

is there a way of sending emails directly from iis without using an external
SMTP service?

View Replies View Related

Send Emails Securely Via ASP

I've been working with ASP for 6+ years now, but in that time I've
never had any solid advice on how to build a secure system. So I
thought I'd ask here first.

Anyway, here's the situation: I have a client who wants to take credit
card information via ASP form (https) and then send the resulting
content (which may be either HTML- or text-formatted) to their email
account, which they access using Outlook (2000, I believe). I want to
build the system to make it as secure as is reasonably possible; at
the same time, they want to make it easy to read / retrieve their
signed/encrypted messages.

I know their are a lot of components out on the market that permit
programmatic encryption of data, but I don't know enough about what I
need to make an informed buying decision. I've heard that encrypting
the email content and then signing the entire message is the proper
thing to do, but how do I actually do that via code? And I definitely
don't understand how the message is handled once it reaches Outlook
(via POP, IMAP or Exchange -- they haven't decided on which yet).

My brain is full of things such as AES, MD5 + SHA-1, SSL, S/MIME and
such -- how do I put all these things together into an effective
solution?

View Replies View Related

Add Multiple Records To A Database From A Form

I am trying to have a form that has multiple records on it and the user can check a box on which ones to add to the database. I created the form but cannot get the fields to enter into the database.

View Replies View Related

Loop Through A Recordset And Send Emails

I need to send an .ASP page as an email template using VBScript. I'd like to do so using CDONTS or CDOSYS. the script needs to loop through a recordset and send emails using data from SQL 2000.

when i try to send using a script i built the asp page pulls in without rendering the asp. how can i pull the rendered asp into my vb for emailing?

View Replies View Related

Trying To Insert Multiple Records Into Database When Form Is Submitted

I'm trying to insert mutiple records into my database when the form is submitted.. My form has 4 textfields; serial1, price1, serial2 and price2.

I would like to insert serial1 and price1 as one record, then serial2 and price2 as the second record. I know some sort of loop has to be used to achieve this but i'm new to this and I don't know what to do...

I tried to do it with dreamweaver but it does not seem possible and the dreamweaver code seems really complicated I've only been able to insert only the first row(serial1,price1).. since I only have 2 fixed rows I guess what I need to do is to get dreamweaver to do it twice in a loop. Code:

View Replies View Related

How To Send Automatic Daily Emails With ASP An No Components Installed?

I need no send birthday emails every day. I need something to check everyday on my database for birthdays, but I don't have any components to do that and I dont have rights to install it on my webserver.

Is there a way to do it without installing anything? Only through asp?

View Replies View Related

How Do I Send Automatic Emails After A Set Interval Of Time From My Website?

I want to send automatic emails from my website after a definite interval of time.
I need a way to execute my ASP script repeatedly without any external triggering....

View Replies View Related

Sending Multiple Emails

I have about 5000 emails in my database. I wrote a basic script that sends
an email to all of those email addresses. Usually I have to break it up and
only send 300-400 at a time so my script does not timeout.

I know I can up my timeout to 45 minutes if I needed to, so that they could
all be sent at once, but I do not believe that is a wise decision.

Does any know of any other ways to do this more efficiently?

View Replies View Related

Submit Form Elements To Insert Multiple Records Into A Database

I have a table that contains all of the function permissions within a given application. These functions are different sections of a site and each has its own permissions (READ, WRITE, UPDATE, DELETE) which are controlled by a web frontend and the table
records are manipulated to control the permissions. Code:

View Replies View Related

CDONTS - How To Generate Multiple Emails

I have a web form and I want to generate 2 different emails (not CC's) from it. One with all the information to go to the client, and one to go to the customer with half the information.

Can anyone tell me how to do this using CDONTS?

View Replies View Related

Passing Info From Multiple Pages

If I have a DB table which spans multiple pages, and if the check box is selected next to the item after all pages are view the user then selects done I need it to pass everything they selected to one page so they can view it and verify that is what they want. Then it is passed to a DB and also sent to me and the user in email.. I know it is alot, but it is what I need.. any suggestions or directions??

View Replies View Related

Get Data From Form, Send To A Html File And Send A Mail

i am trying harder to mix this 2 solutions... but without success... the below on seen to be grabing a template and replace the data with the values posted in a form Code:

View Replies View Related

How Do I Reload The Page To Show New Info With Multiple Submit Buttons

i am new to asp and web designing, and was wondering how to reload a page so that a different set of images appear, depending on which submit button is pressed. Code:

View Replies View Related

Email Emails In The Database

Does anyone no or have a link to how i can send a Newsletter/Email to every Email address in my Database?

View Replies View Related

Passing Info From Form To Form

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

Cdo - Send To Multiple Recipients

I'm using cdo to send auto-generated emails. I'm calling a stored procedure that returns a recordset.

In most instances, the recordset will only return one record containing one email as the value. However, there are instances, where two records can be returned with two seperate email addresses that I need to send out using cdo. This is how I'm calling the procedure:

Code:

View Replies View Related

Send To Multiple Recipients

I am using CDONTS to send a confirmation email. I am using plain text to send my email. I would like to send to multiple users, but I am already using the "To," "Cc," and "Bcc." Is it possible to send to multiple recipients in the "To" field? I am also using variables instead of hard coded email addresses. Here is my code:

Set MyCDONTSMail = CreateObject("CDONTS.NewMail")
MyCDONTSMail.From= TeacherEmail
MyCDONTSMail.To= Administrator, Administrator2, Administrator3
MyCDONTSMail.Cc= Secretary
MyCDONTSMail.Bcc= TeacherEmail

View Replies View Related

Send Multiple Receivers

I have a database with a tbl "Email" in the tbl are two fields "Name and Email", now I have writen a asp script that emails to the all email addresses that are in tabel, here comes the problem, if I buld a loop that will bring all the emails in the same message iis doesn't allow it If i have fixed this problemm(hope that anyone can help me?), there is on more left, the recevers of this email have to see to who the email has send.Job

View Replies View Related

Send Multiple Values

I have a stored procedure that requires one variable to be filled: WHERE ItemNo = @ItemNo
Instead of sending 1 value,I'd like to send a bunch of values. I don't mind changing the SP if I new how to approach this. The user would select any number of ItemNo's from a form and submit.

Assume ItemNo's like: B1, B2, B3, etc...
The end result would be something like ...
WHERE ItemNo = B1 or ItemNo = B5 or ItemNo = B10 ...etc....

I want to build a recordset based on the user's selections. How?

View Replies View Related

Mail Info From A Form

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

Form To Gather Info

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

Using The Form Command To Get Info

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

Info From .NET Web Form To ASP Page

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

Retrieiving Info From Database

I am trying to learn how to retrieve information from the database. I am not too familiar with ASP but I was told to use it. How do I go about doing this? What specific aspect of ASP do I need to learn?

View Replies View Related

Store Info In Database.

I have made a registration form for adding my friends information in a
database. The problem is that I want to connect the persons with companies
in the same database. I wonder how i could connect a person to several other
id's in a table.

I wonder if I can make a string in the database that holds all the id's
separated with , for example....?

the string would then look like this:
1,4,6,22,56
for example...

But how can I then open this string and separate the numbers from the , ???

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved