Created
April 4, 2018 03:10
-
-
Save MistrySaurabh/4809e8655e5bdee262e2c350f961dabe to your computer and use it in GitHub Desktop.
This file contains 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
$to =$user->email; | |
$subject = 'the subject'; | |
$message = 'hello'; | |
$headers = 'From: notification@weopined.com' . "\r\n" . | |
'Reply-To: notification@weopined.com' . "\r\n" . | |
'X-Mailer: PHP/' . phpversion(); | |
mail($to, $subject, $message, $headers); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment