Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- noreply@cpanel_example.com -> info@cpanel_example.com
- cpanel_example@server.whm_example.com -> info@cpanel_example.com
- <?php
- $to = 'info@cpanel_example.com';
- $subject = 'The test for php mail function';
- $message = 'Hello';
- $headers = 'From: noreply@cpanel_example.com' . "rn" .
- 'Reply-To: noreply@bcttransfers.com' . "rn" .
- 'X-Mailer: PHP/' . phpversion();
- mail($to, $subject, $message, $headers);
Add Comment
Please, Sign In to add comment