View Single Post
  #10  
Old 27th February 2009, 12:07
wintertong wintertong is offline
Junior Member
 
Join Date: Feb 2009
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

It looks like that dont it but this is my php script:

<?php

$Name = "Gareth Winterton"; //senders name
$email = "gareth.winterton@gmail.com"; //senders e-mail adress
$recipient = "gareth.winterton@s2o.co.uk"; //recipient
$mail_body = "The text for the mail..."; //mail body
$subject = "Subject"; //subject
$header = "From: ". $Name . " <" . $email . ">\r\n"; //optional headerfields

mail($recipient, $subject, $mail_body, $header); //mail command

?>

and the error is still here. Do you think that it could be something in the php.ini file?

Feb 27 10:05:04 server53009 postfix/pickup[23864]: 8EA1B4CE5F2: uid=65534 from=<nobody>
Feb 27 10:05:04 server53009 postfix/cleanup[24053]: 8EA1B4CE5F2: message-id=<20090227100504.8EA1B4CE5F2@server53009.uk2net. com>
Feb 27 10:05:04 server53009 postfix/qmgr[6571]: 8EA1B4CE5F2: from=<nobody@noreply@studio2online.co.uk>, size=366, nrcpt=1 (queue active)
Feb 27 10:05:04 server53009 postfix/smtp[24055]: 8EA1B4CE5F2: to=<gareth.winterton@s2o.co.uk>, relay=83.170.96.113[83.170.96.113]:25, delay=0.05, delays=0.04/0/0/0, dsn=5.5.4, status=bounced (host 83.170.96.113[83.170.96.113] said: 501 5.5.4 Syntax error in parameters scanning (in reply to MAIL FROM command))
Feb 27 10:05:04 server53009 postfix/cleanup[24053]: 99FB94CE5F3: message-id=<20090227100504.99FB94CE5F3@server53009.uk2net. com>
Feb 27 10:05:04 server53009 postfix/qmgr[6571]: 99FB94CE5F3: from=<>, size=2327, nrcpt=1 (queue active)
Feb 27 10:05:04 server53009 postfix/bounce[24056]: 8EA1B4CE5F2: sender non-delivery notification: 99FB94CE5F3
Feb 27 10:05:04 server53009 postfix/qmgr[6571]: 8EA1B4CE5F2: removed
Feb 27 10:05:04 server53009 postfix/smtp[24055]: 99FB94CE5F3: to=<nobody@noreply@studio2online.co.uk>, relay=83.170.96.113[83.170.96.113]:25, delay=0.03, delays=0.02/0/0/0.01, dsn=5.5.4, status=bounced (host 83.170.96.113[83.170.96.113] said: 501 5.5.4 Syntax error in parameters scanning (in reply to RCPT TO command))
Feb 27 10:05:04 server53009 postfix/qmgr[6571]: 99FB94CE5F3: removed
Reply With Quote