Answers for "php mail on server cpnael"

PHP
0

cpanel email to email send with php

<? 

$to      = '[email protected]'; 

$subject = 'The test for php mail function'; 

$message = 'Hello'; 

$headers = 'From: [email protected]' . "rn" . 

    'Reply-To: [email protected]' . "rn" . 

    'X-Mailer: PHP/' . phpversion(); 

mail($to, $subject, $message, $headers); 

?>
Posted by: Guest on September-22-2020
0

cpanel email to email send with php

<?php

$to      = '[email protected]';

$subject = 'the subject';

$message = 'hello';

$headers = 'From: [email protected]' . "rn" .

    'Reply-To: [email protected]' . "rn" .

    'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

?>
Posted by: Guest on September-22-2020

Browse Popular Code Answers by Language