View Full Version : Php Emailer with or without flash fourm

03-03-2009, 10:27 PM
I need a php emailer set up I was going to make a flash forum and email it with a php script but im not quite sure how to go about it. If its too hard to do it that way I can just use the below that i grabbed from trapped 17 but im unsure of how it works and how does It know the password of the email account its using to send me the email? Im looking for the simplest way possible to do this, Ive already spent enough time getting acquainted with flash

config.php file
// Type Your email address here
$thxemial="Thank Your for Sending Email to Us";
//Your thanks Note

mail.php file

include ("config.php");
$sub = $_POST['sub'];
$text = $_POST['text'];
$memail = $_POST['memail'];
mail($email, $sub, $text ,"From: $memail \nReply-To: $memail");
mail($memail, $sub, $thxemial,"From: $email \nReply-To: $email");

Send.htm file

<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Your Email Address</title>


<form method="POST" name="mail" action="mail.php">
<p><font face="Verdana" style="font-size: 8pt">Your Email Address </font></p>
<p><input type="text" name="memail" size="20"></p>
<p><font face="Verdana"><span style="font-size: 8pt">Your Mail Subject</span></font></p>
<p><input type="text" name="sub" size="20"></p>
<p><font face="Verdana" style="font-size: 8pt">Your Mail Body</font></p>
<p><textarea rows="2" name="text" cols="20"></textarea></p>
<p><input type="submit" value="Send Email" name="Submit"></p>



03-04-2009, 05:08 AM
With the PHP mail function, it is not necessary to have a password.

Open your send.htm and you can just put in the infos it need and press Send Mail.

03-04-2009, 02:20 PM
Alright i guess ill try it out once I get the site up. What would i need todo to add php emailer to a flash forum