Hello All!
I'm having problems with SMTP mail:
It works via users.php and profiles.php, but auto-generated emails for new registration or forgotten passwords does not result in a received email, even though the site says it is successful. It does however generate the error in the error log, which has also been posted in the discussions:
Text Formatted Code
[pear_error: message="unable to set sender to [@]" code=0 mode=return level=notice prefix="" info=""]
Again, there's a lot of discussion on this topic, but nothing seems to ameliorate the problem.
I have hosting with 1and1.com and it seems that SMTP is the only way to go with them.
I'm also running GL on DixieSystems hosting, but $_CONF['mail_settings'] is set as "mail" so I don't have this problem there. Just to test, I set it to "smtp", and got the same errors as I'm getting with 1and1 hosting.
Both are running GL 1.3.9, and "safe_mode" is "off" in both.
1and1 php version is 4.2.3.
On 1and1, I tried "$_CONF['have_pear'] = true", which resulted in error -- can't find Socket.php, and I couldn't find it either:
Text Formatted Code
u99999999:/usr/local/lib/php/Net > ls
Curl.php Dig.php SMTP.php
Changing 'auth' parameter to "true" did nothing...
Here's the snippet, which, as I said before works in user.php and profiles.php but does not generate automated email for new registrations and lost passwords. I didn't try other email functionalities, such sending email to all users....
Text Formatted Code
$_CONF['have_pear'] = false;
...
$_CONF['mail_settings'] = array (
'backend' => 'smtp', // can be one of 'mail', 'sendmail', 'smtp'
// sendmail parameters (for 'backend' => 'sendmail')
'sendmail_path' => '/usr/sbin/sendmail',
'sendmail_args' => '-t -i',
// SMTP parameters (for 'backend' => 'smtp')
'host' => 'smtp.1and1.com',
'port' => '25',
'auth' => false,
'username' => 'm99999999-9',
'password' => '99999999'
Any help is greatly appreciated!!!!!!!