Hello, All
I've check all postings here and on PHP.net
Nothing is working in my case.
I have PHP on Apachie with Exim on a shared server.
The maximum I was able to get is
using this code:
<?php
$newemail="joe@userdomain.com";
$message = "Test";
$from_name="Support";
$from_email="support@mydomain.com";
$mailheaders = "From: Test <$from_email> \r ";
MAIL(
$newemail,"Subject Line", "This is a test ",
"From: $from_email");
?>
In this case sender name is exactly I wanted,
but in rest of a header goes directly into the body of a message.
All other functions and scripts are not working at all.
Is it possible at all to get rid of Nobody on a shared server?
Regards,
Igor Chestatchenko