Created
December 20, 2018 22:44
-
-
Save parzibyte/26e6ed6932ac3af43989a46075734ae4 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
<?php | |
/* | |
Enviar correo desde PHP con mail | |
*/ | |
$resultado = mail("tu_correo@dominio.com", "Yo soy el asunto del correo", "Yo soy el mensaje"); | |
if ($resultado) { | |
echo "El correo fue enviado"; | |
} else { | |
echo "El correo no fue enviado"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment