Welcome to Geeklog, Anonymous Thursday, December 26 2024 @ 02:59 pm EST
Geeklog Forums
Problems setting up SMTP
ddtackett
Anonymous
When I try to send e-mail from within Geeklog, I see the following message in my errorlog file:
3/15/2005 7:06:25 PM - [pear_error: message="unable to connect to smtp server mail.messagingengine.com:25" code=0 mode=return level=notice prefix="" info=""]
I get that error message regardless of if I am creating a new user or sending a story to someone. It doesn't really give me a whole lot to go on.
Here is the section from my config.php that deals with e-mail:
// To send email from Geeklog, you will need to select one of the following
// email backends:
// - 'mail', i.e. use PHP's built-in mail() function
// - 'sendmail', i.e. use the sendmail utility
// - 'smtp', i.e. talk directly to your SMTP server
// The default is 'mail' and will work in most environments.
$_CONF['mail_settings'] = array (
'backend' => 'smtp', // can be one of 'mail', 'sendmail', 'smtp'
// sendmail parameters (only needed for 'backend' => 'sendmail')
'sendmail_path' => '/usr/bin/sendmail',
'sendmail_args' => '',
// SMTP parameters (only needed for 'backend' => 'smtp')
'host' => 'mail.messagingengine.com',
'port' => '25',
'auth' => true,
'username' => 'someuser',
'password' => 'somepassword'
);
(someuser and somepassword are obviously bogus)
I know that I am using the correct settings because I use the same ones in my e-mail program. I have also tried substituting the host name for one of their IP addresses with no change. I tried to sign up for a new account here, but for some reason I didn't get the message.
I am using PHP 4.3.10 and GL 1.3.11. Any help would be appreciated. Thanks in advance,
Duane
3/15/2005 7:06:25 PM - [pear_error: message="unable to connect to smtp server mail.messagingengine.com:25" code=0 mode=return level=notice prefix="" info=""]
I get that error message regardless of if I am creating a new user or sending a story to someone. It doesn't really give me a whole lot to go on.
Here is the section from my config.php that deals with e-mail:
// To send email from Geeklog, you will need to select one of the following
// email backends:
// - 'mail', i.e. use PHP's built-in mail() function
// - 'sendmail', i.e. use the sendmail utility
// - 'smtp', i.e. talk directly to your SMTP server
// The default is 'mail' and will work in most environments.
$_CONF['mail_settings'] = array (
'backend' => 'smtp', // can be one of 'mail', 'sendmail', 'smtp'
// sendmail parameters (only needed for 'backend' => 'sendmail')
'sendmail_path' => '/usr/bin/sendmail',
'sendmail_args' => '',
// SMTP parameters (only needed for 'backend' => 'smtp')
'host' => 'mail.messagingengine.com',
'port' => '25',
'auth' => true,
'username' => 'someuser',
'password' => 'somepassword'
);
(someuser and somepassword are obviously bogus)
I know that I am using the correct settings because I use the same ones in my e-mail program. I have also tried substituting the host name for one of their IP addresses with no change. I tried to sign up for a new account here, but for some reason I didn't get the message.
I am using PHP 4.3.10 and GL 1.3.11. Any help would be appreciated. Thanks in advance,
Duane
5
6
Quote
ddtackett
Anonymous
I have actually stumbled on my own solution:
There is actually a file named "smtp.php". I added the information from the config.php into this file and low-and-behold it worked. This might be a bug as I believe the intention is for the settings in the config.php to take prescedence. Just wanted to give everyone a heads up in case they bump into the same issue.
Duane
There is actually a file named "smtp.php". I added the information from the config.php into this file and low-and-behold it worked. This might be a bug as I believe the intention is for the settings in the config.php to take prescedence. Just wanted to give everyone a heads up in case they bump into the same issue.
Duane
7
6
Quote
All times are EST. The time is now 02:59 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content