Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $to = 'cesar@example.com'; // Email destination
- $subject = 'Asunto aquí';
- $message = '
- <h1>Html Test</h1>
- <br>
- hola mundo
- ';
- $headers = 'MIME-Version: 1.0' . "\r\n";
- $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
- $headers .= 'To: Cesar <cesar@example.com>, Kelly <kelly@example.com>' . "\r\n";
- $headers .= 'From: You <hack@example.com>' . "\r\n";
- //$headers .= 'Cc: cc@example.com' . "\r\n";
- //$headers .= 'Bcc: cc@example.com' . "\r\n";
- mail($to, $subject, $message, $headers);
- ?>
Add Comment
Please, Sign In to add comment