Forum Moderators: coopster
[2]
to = $_POST['email'];
$subject = "Hello there"; $message = "My message here";
$headers = "From: Activation <activation@mydomain.com> \r\n";
$headers.= "X-Mailer: PHP 4.x";
mail($to, $subject, $message, $headers);
[/2]
... and for some reason the message does not arrive to the recipient on MS Exchange but it does to google, yahoo, hotmail accounts.
I have checked SMTP log on Exchange and it shows absolutely nothing. I have also set the anti-spam (Sophos Pure Message) to quarantine all spam and it also shows nothing.
Anyone else had similar problem?
Well there is nothing wrong with the script and also nothing wrong with ms exchange. It was an interesting cock up by my hosting company.
I forgot about the fact that I had ssh access, so when I fired mail command I got this:
Insufficient disk space; try again later
Insufficient disk space; try again later
returntosender: cannot select queue for #*$!#*$!
Insufficient disk space; try again later
returntosender: cannot select queue for postmaster
queueup: cannot create queue file qfn6DBBVdc017115, euid=345056, fd=-1, fp=0x0: No space left on device
LOL. The odd thing is that it works for yahoo, google and hotmail when I'm using my php driven form! :-)
just few days ago i was stuck when running a curl-php script.
testing...
testing...
testing...
and
testing...
testing...
testing...
by chance I discovered that was because my partition for web developing /var/www was left 0b.
and therefore could not modify a cookie file in /var/www/html/tmp/cookies
is something we must take into account