Welcome to Geeklog, Anonymous Monday, January 13 2025 @ 07:08 pm EST
Geeklog Forums
SMTP Issue
For some reason I cannot seem to get GL to send mail with SMTP. I have configured the mail section in config.php per the instructions. When I test it via signing up for a new account I never recieve an email. My current configuration is:
[CODE]$_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' => 'localhost',
'port' => '25',
'auth' => true,
'username' => 'test@website.com',
'password' => 'test'
The SMTP server works fine as I tested the username and PW with Outlook. Also, when I tail the mail log and sign up for a new account the mail server never even shows the GL settings trying to hit it. I also looked at any GL logs and none of them say anything. Am I missing something really simple here? It seems like the emails go off into some email black hole.
FYI: The Mail server and GL reside on the same server and yes the mail server is set to relay 'localhost' mail. I also tried to change 'localhost' to smtp.website.com and this did not work either.
And Yes I did restart the server and triple checked settings.
Any help is appreciated. TIA
[CODE]$_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' => 'localhost',
'port' => '25',
'auth' => true,
'username' => 'test@website.com',
'password' => 'test'
The SMTP server works fine as I tested the username and PW with Outlook. Also, when I tail the mail log and sign up for a new account the mail server never even shows the GL settings trying to hit it. I also looked at any GL logs and none of them say anything. Am I missing something really simple here? It seems like the emails go off into some email black hole.
FYI: The Mail server and GL reside on the same server and yes the mail server is set to relay 'localhost' mail. I also tried to change 'localhost' to smtp.website.com and this did not work either.
And Yes I did restart the server and triple checked settings.
Any help is appreciated. TIA
8
8
Quote
All times are EST. The time is now 07:08 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