Created
December 29, 2013 20:15
-
-
Save sarthology/8174322 to your computer and use it in GitHub Desktop.
Its the proper way how to send a mail that will not be a span at all. all you have to do is use [email protected]
like [email protected] problem solved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$to = '[email protected]' . ', '; | |
$to .= '[email protected]'; | |
$subject = 'The vowers'; | |
$message = $_POST['comments']. "<".$_POST['email'].">"; | |
$headers = 'From: [email protected]'; | |
$headers = htmlspecialchars($headers); | |
$message = htmlspecialchars($message); | |
$mail= mail($to, $subject, $message, $headers); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment