Ok,
This is most likely linux (Redhat 9) related, i'll give it a go anyway..
Setup:
Linux Redhat 9, connected to a router, assigned local IP.
Apache 2, PHP and MySLQ installed and running.
I'm sending a mail like this:
$subject = "Hello";
$msg4 = "Testmail";
$email = "info@whatever.com";
$mailheaders = "MIME-Version: 1.0\r\n";
$mailheaders .= "Content-type: text/html; charset=iso-8859-1\r\n";
$mailheaders .= "From: Graphical Solutions";
mail($email, $subject, $msg4, $mailheaders);
This seems to work, but not when sending to external e-mail addresses. The mail log (Redhat 9) says:
DSN: Data Format Error
though when i send the mail to myself locally, it arrives in my inbox.
Anything wrong with the script? I think the sendmail config on the Redhat box is pretty much standard. No alterations made.
I am really clueless since i'm a beginner at this Linux thing.
btw, my account resides at Demon, being www.graphicalsolutions.nl
when i do receive a mail, Outlook says:
From: Graphical.Solutions@localhost.localdomain to info@graphicalsolutions.nl
Is that ok?
Any help reaaally appreciated, i would like this thing to work!
thefisherman