how to change default mailed by : address in php mail()
- by testkhan
i have the following code
$subject = "Subject Here";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
// Additional headers
$headers .= 'From: Domain Name <domain@domain.com>' . "\r\n";
$to = $email;
$body = '
My Message here
';
mail($to, $subject, $body,…