Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- ini_set( 'display_errors', 1 );
- error_reporting( E_ALL );
- $from = "test@votredomaine.com";
- $to = "adressedestinataire";
- $subject = "Vérification PHP mail";
- $message = "PHP mail marche";
- $headers = "From:" . $from;
- mail($to,$subject,$message, $headers);
- echo "L'email a été envoyé.";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement