On Monday, October 08, 2007 3:19 PM marlyred said:

> Hi,
> 
> PHP, but my pages are static html.
> 
> Marlyred

You may have already received an email about this offlist but javascript
(jQuery is javascript) cannot send emails. What it will need to do is
submit the form's data to a server side script (in your case PHP) and
have the server send the email through its MTA (probably sendmail,
possibly postfix). Static HTML doesn't have anything to do with it. The
PHP script that needs to be written doesn't necessarily need to display
anything to the user.

The flow would go like this:

static page with form -> form is submitted to PHP page -> PHP page sends
email and then redirects to another static page with a confirmation e.g.
"Your tell-a-friend request has been sent."



HTH,
Chris.

Reply via email to