Hi,
Anybody knows to use mailto in PHP with the following parameters:
$to, $subject, $body, $headers
and put in php code like
<?php
mailto .....
?>
Help. Thanks.
Hi,
Anybody knows to use mailto in PHP with the following parameters:
$to, $subject, $body, $headers
and put in php code like
<?php
mailto .....
?>
Help. Thanks.
See related topic:
http://www.vodahost.com/vodatalk/forms/933-forms-question.html
Forum Moderator
BlueVoda Specialist
yes i do and here is the script you need
<HTML>
<HEAD>
<TITLE>Your Registration Form Has Been Sent</TITLE>
</HEAD>
<BODY>
<H2>What you want peple to see when they click submit<H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "Put Voda Host Email Address Here ";
$mailsubj = "What you want the subject to be here";
$mailhead = "From: $email\";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HTML>
just copy this into notpad and save it a "What you want".php
if you need any more help just post agan
correct the words in red
There are currently 1 users browsing this thread. (0 members and 1 guests)