1
I tried to report this to the xcgallery support site but it appears that they are down over there, so I'll post here.
I was having difficulty with the ecard functionality on xcgallery. When I sent cards they were returned to me with the following error:
Quote:
A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es) failed:
myname@email.com
SMTP error from remote mailer after end of data:
host domain.com [123.45.678.62]: 550 Administrative prohibition
I got the following information from our hosting provider about the error:
Quote:
When we checked the logs the error we observed was:
syntax error in 'From:' header when scanning for sender: missing or malformed local part (expected word or "<") in ""Site Name" address@domain.com"
Please check the script and see if the 'From' part in it is given correctly.
Please do not hesitate to contact us for any further assistance.
I noted that the file ecard.php has the following line:
Quote:
$mail->setFrom('"'.$xoopsConfig['sitename'].'" '.$xoopsConfig['adminmail'].'');
I changed that line to this:
Quote:
$mail->setFrom($xoopsConfig['adminmail']);
Thereafter, it worked fine. Not sure what it's all about. I think the settings on our hosting provider are pretty conventional and I don't have any filters set up, so that isn't it...
Anyway, if someone else has problems, maybe you can try this. And maybe its a good idea to try it too? Oh, and if someone has an idea about how I can fix that line so it will include the sitename but won't have problems, I'd be greatful to know about it.