'I am new to the wordpress. i have just made a contact form page from where user can send to the selected users email . when i hit the submit button to send the form it return true email send successfully but when i go to check the email there is nothing. please give me some suggestion to solve it Thanks Here is my code :
$to = '' . $receiveremail . '';
$subject = 'test request form';
$headers = "From: " . $from . "
";
$headers .= "Reply-To: " . strip_tags ( $email ) . "
";
$headers .= "MIME-Version: 1.0
";
$headers .= "Content-Type: text/html; charset=ISO-8859-1
";
$to = $receiveremail;
//here $to = eamil1,email2,email3.......
//$send = mail ( $to, $subject, $message, $headers );
$send = wp_mail($to, $subject, $message, $headers);