On 5 Jun 2008, at 09:48, Henrik Johansson wrote:
I have a piece of code that uses mail() to, well, send mail.
It works, but not the error handling which is as follows:
$send = @mail( $to, $subject, $body, $headers );
if($send)
{header( "Location: http://somewhere/thankyou.html"; );}
else
{prin
Hi.
I have a piece of code that uses mail() to, well, send mail.
It works, but not the error handling which is as follows:
$send = @mail( $to, $subject, $body, $headers );
if($send)
{header( "Location: http://somewhere/thankyou.html"; );}
else
{print "Oops, couldn't deliver the message, please
2 matches
Mail list logo