Published in: PHP
The right way to send a mail with POST params
$to = 'Jon <g.fazioli@undolog.com>'; mail($to, strip_tags( $_POST['subject'] ), stripslashes( utf8_decode( strip_tags( $_POST['message'] ) ) ), 'From: '.strip_tags( $_POST['name'] ).'<'.$_POST['email'].'>' ); }
You need to login to post a comment.
