Hello all!
I used this script on several pages already and it is very nice and offers a lot of customization!
Recently provider for two pages upgraded their servers and script does not work anymore.
I get this message when trying to send message:
- Message could not be sent due to an error while trying to send the mail.
I don't get more specific description.
This is part of code, that is modified:
<?PHP
define('VERSION','Classic v1.07.2');
define('MANUAL','http://www.boaddrink.com/projects/phpformmail/readme.php');
define('CHECK_REFERER', false);
/
// To change the address the e-mail comes from use define('FROM', 'Example Name ');
define('FROM', 'spletni nakup ');
$referers = array('www.skokice.si', '','gmail.net');
// $recipient_array format is $recipient_array = array('sometext'=>'email@example.com','asdf'=>'email2@example.com');
$recipient_array = array('adffeajk2141239ufklaf2e2r1jkfsggq4r6437de' => 'xxy@gmail.net');
$valid_env = array('REMOTE_HOST', 'REMOTE_ADDR', 'REMOTE_USER', 'HTTP_USER_AGENT');
// +------------------------------------------------------------------------+
// | STOP EDITING! The only two required variables that need to be
here is also phpinfo:
phpinfo is available here:
http://www.skokice.si/phpinfo.php
Please help!
BR

Just got the very same
Just got the very same error. I have installed this in other sites without problem.
Any idea of what this error means?
php config issue
If your host just updated their servers than the odds are they didn't properly configure their php.ini. Ask them to check that they setup the SMTP section of the php.ini properly.
Andrew M Riley