Discuss PHP error when sending emails in the PHP Development forum on Dev Shed. PHP error when sending emails PHP Development forum discussing coding practices, tips on PHP, and other PHP-related topics. PHP is an open source scripting language that has taken the web development industry by storm.
Posts: 32
Time spent in forums: 3 h 19 m 18 sec
Reputation Power: 1
PHP error when sending emails
Hi
I have installed email script on a server but when i try to send emails i am receiving this error:
Fatal error: require_once() [function.require]: Failed opening required '/srv/disk11/1171009/www/websoftwareoutsourcing.com/inter/admin/functions/api/module_factory.php' (include_path='.:/usr/local/php5/share/pear') in /srv/disk11/1171009/www/websoftwareoutsourcing.com/inter/admin/functions/api/module_trackerfactory.php on line 17
Does anyone have an idea what this error could mean?
Posts: 15
Time spent in forums: 3 h 49 m 21 sec
Reputation Power: 0
The problem seems to be that PHP use the ini directive sendmail_from to set the from email address in the SMTP protocol. If this is not correctly set, or if it does not match the from header in the email headers, the email is caught by spam protection software. The simplest solution is to set the directive during execution:
Posts: 760
Time spent in forums: 1 Week 4 Days 5 h 15 m 18 sec
Reputation Power: 339
Quote:
Originally Posted by AimyThomas
Fatal error: require_once() [function.require]: Failed opening required '/srv/disk11/1171009/www/websoftwareoutsourcing.com/inter/admin/functions/api/module_factory.php' (include_path='.:/usr/local/php5/share/pear') in /srv/disk11/1171009/www/websoftwareoutsourcing.com/inter/admin/functions/api/module_trackerfactory.php on line 17
Does anyone have an idea what this error could mean?
A great example of "Reading the error message fail".
__________________
The number for UK Emergencies is changing, the new number is 0118 999 881 999 119 7253
"For if leisure and security were enjoyed by all alike, the great mass of human beings who are normally stupefied by poverty would become literate and would learn to think for themselves; and when once they had done this, they would sooner or later realise that the privileged minority had no function and they would sweep it away"
- George Orwell, 1984