travisperkins
02-10-2006, 12:40 PM
I am starting a new thread for this repeat post because I am so close I am afraid it will get lost in the previous one.
I am attaching an example of an am6 project that has the skeleton for everything I need except that I can not work out where in the am6 code I would place the address of the php mailer script on my server so that, when I click 'send', the on click event knows where to submit to.
This example is from:
http://www.indigorose.com/forums/showthread.php?p=75127
and the php script on my server contains:
<?php
$mail_to = $_REQUEST['mail_to'];
$subject = $_REQUEST['subject'];
$message = $_REQUEST['message'];
$mail_from = $_REQUEST['mail_from'];
$reply_to = $_REQUEST['reply_to'];
$headers = "From: $mail_from\r\n";
$headers .= "Reply-To: $reply_to\r\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";
mail(
$mail_to,
$subject,
$message,
$headers
);
?>
I am attaching an example of an am6 project that has the skeleton for everything I need except that I can not work out where in the am6 code I would place the address of the php mailer script on my server so that, when I click 'send', the on click event knows where to submit to.
This example is from:
http://www.indigorose.com/forums/showthread.php?p=75127
and the php script on my server contains:
<?php
$mail_to = $_REQUEST['mail_to'];
$subject = $_REQUEST['subject'];
$message = $_REQUEST['message'];
$mail_from = $_REQUEST['mail_from'];
$reply_to = $_REQUEST['reply_to'];
$headers = "From: $mail_from\r\n";
$headers .= "Reply-To: $reply_to\r\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";
mail(
$mail_to,
$subject,
$message,
$headers
);
?>