Created
March 11, 2017 08:43
-
-
Save kousherAlam/de7be5ca175bb536321b79938fe38a2a to your computer and use it in GitHub Desktop.
simple mail header for send mail form localhost
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
$headers = ‘MIME-Version: 1.0′ . “\r\n”; | |
$headers .= ‘Content-type: text/html; charset=iso-8859-1′ . “\r\n”; | |
$headers .= ‘From: [email protected]’ . “\r\n”; | |
mail(“[email protected]”,”test subject”,”test body”,$headers); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment