Thanks. But very strange, I tried a bit more, no luck. Any chance I can pay someone to help me via remote session?
Its PHP 5.3.22
Phpinfo shows clearly and I tested in several sites, display_errors is off. Both local and global, since its in my php.ini and also in windows registry disabling it. error_reporting shows value 30719
A simple code such as this
$email = "firstname.lastname@example.org";
$subject = "Test Message";
$msg = "This is a test message";
print "Mail sent to $email";
Shows an error such as
Mail sent to email@example.comPHP Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 <firstname.lastname@example.org>... we do not relay <email@example.com> in E:\sites\domain\www\test\testrelay2.php on line 6
Strangely php.log is not logging this although log to disk is enabled
It does log other things such a deprecated or notices
PHP Notice: Undefined property: JDocumentHTML::$baseurl in
PHP Deprecated: Function ereg_replace() is deprecated in
Now if I change error_reporting to
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT &~E_DEPRECATED &~E_WARNING
Now on screen all I get is
Mail sent to firstname.lastname@example.org
Which BTW is untrue as it was rejected, but since warning doesnt show up, it doesnt show any error at all.
I guess Ill just keep it this way and users can easily get clearer error with ini_set...