Avoid spam by using mail() in php
<?
$header .= "Reply-To: Some One <example@example.com>\r\n";
$header .= "Return-Path: Some One <example@example.com>\r\n";
$header .= "From: Some One <example@example.com>\r\n";
$header .= "Organization: Organization Name\r\n";
$header .= "Content-Type: text/plain\r\n";
mail("recipient@sendtodomain.com", "Sample Message", "This is my message.", $header); ?>
0 comments:
Post a Comment