Jump to content

How to send an email with this form?


greg

Recommended Posts

Hello,
I have a calculation online form where the visitor put some data, click submit, and the calculations are displayed. I want to know how can I setup the form so I can get ALSO an email when the submit button is hitted?
Thank you for your help.
Greg

Here is part of the code:


[code]
this is at the beginning of the form:

<form name="estimator" action="<?php echo FILENAME_ESTIMATOR.'?pID='.(int)$HTTP_GET_VARS['pID'];?>" method="post" onsubmit="return checkForm(this);">

this is where the submit buttom is located:

<input value="Generate Estimate" name="submit" style="font-family: verdana; font-size: 8pt;" type="submit">
        <input value="Reset" name="reset" onclick="document.location = form.action;" style="font-family: verdana; font-size: 8pt;" type="button">
          <input value="Close" name="close" onclick="window.close();" style="font-family: verdana; font-size: 8pt;" type="button">
[/code]
Link to comment
https://forums.phpfreaks.com/topic/5642-how-to-send-an-email-with-this-form/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.