Share |

Mailing Lists With Email Addresses

mailing lists with email addresses
How do i generate an email automatically in response to an html form?

If I make a form in dreamweaver (for a mailing list), just with the persons name and email entry fields, how do i set this up so that it sends that info to my email address, which then sends an automatic response back?
Thanks very much edwin. Im afraid i don’t know how to ‘call in form page’ though?

listen friend .. thats easy….save the below as php file. and call in form page:

?
$subject = “Contact Us from yoursite.com”;
$to = “info@yoursite.com”;
$from = $email;
$matter = “Contact Us Details (yoursite.com)nn”;
$matter .= “Name: $namen”;
$matter .= “Address: $addressn”;
$matter .= “phone: $phonen”;
$matter .= “Fax: $faxn”;
$matter .= “Email: $emailn”;
$matter .= “Requirements: $queryn”;
$msg = nl2br($matter);
$msg = $matter;
mail($to,$subject,$msg,$from);
//echo “your email is: “.@$_REQUEST["email"].”
“;
//echo “your name is: $namen”.”
“;
//echo “your email is: $email”.”
“;
//echo $name.”
“;
//echo @$_REQUEST["email"].”
“;
?>

How to: Extract email addresses and sending emails


Leave a Reply

CommentLuv badge