View Full Version : Email Script
Master_tee
October 20th, 2002, 00:45
anyone know a script to email somthing entered in a webpage to your email ive used it before but forgot where to get it
(is this the right forum?:o)
Akalon
October 20th, 2002, 02:41
Formmail? CGI, PHP or ASP?
And no, it's not the right forum :p lol
Salam
October 20th, 2002, 21:10
This is the right forum :
<?php
if(!isset($HTTP_POST_VARS['send']))
{
echo "<center><form name=mail action=form.php method=post>" ;
echo "<textarea name=message rows=20 cols=50></textarea><br>" ;
die ("<input type=submit name=send value=send></form>") ;
}
if(mail("you@mail.com", "Feedback", $message)) die("Message sent successfuly !");
else die("Error !") ;
?>
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.