How do I send flyers via email?

Can you have 2 forms in Frontpage on the same website example and have one form send info to you via email and then have it goto another page and send more info?

  • Answer:

    The simple answer is yes! However, there are a few questions that need answered in order to pull this together. You have a single page with 2 forms: <body> <form name="form1"> <input type="button" value="Form 1 button"> </form> <form name="form2"> <input type="button" value="Form 2 button"> </form> </body> So that covers the two forms. Now you want one form to send info via email. Let's pretend there is a page for that, like sendanemail.asp or mailitout.php to handle the sending of the mail. This is assuming that you have some scripting background to send the mail and are not doing a mailto:. Now one of your forms looks like this: <form name="form1" action="mailitout.php" method="post"> <input type="button" value="Form 1 button"> </form> That will take care of posting the form (the method attribute) to mailitout.php (the action attribute). But, wait! There's more! Now you want to have it go to another page and then send more info. Well, if these things are to be automated, and you just sent out the mail, then at the end of your asp or php you can do a response.redirect(asp) or a location=(php) to go to the other page. Having said all that, if you don't have access to the scripting languages, you are probably going to have to settle for a client side mailto: that is very limited, and maybe some javascript to go to the other page. However, this can NOT guarantee the sending of the email because you are relying on the client to do so. The most important question that you need to ask yourself is 'What is the ultimate goal?' 'What am I trying to achieve and is this the best way to do so?'

wiki.answers.com Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.