Welcome to Geeklog Sunday, August 25 2019 @ 12:33 am EDT

Geeklog Forums

Can't send emails to external domains


Status: offline

chrisnz

Forum User
Newbie
Registered: 18/07/05
Posts: 2
I've just installed Geeklog (great product), but new users aren't getting the confirmation emails. I've been searching the forum and tried all the recommendation, but still no luck. I've got it to the point where the system can send email to addresses on the same domain. ie. http://domain.com user@domain.com. I'm currently using 'CUSTOM_mail'
This is my current setting I'm using:
'backend' => 'CUSTOM_mail', // can be one of 'mail', 'sendmail', 'smtp'

// sendmail parameters (only needed for 'backend' => 'sendmail'Wink
'sendmail_path' => '/usr/sbin/sendmail',
'sendmail_args' => '-t -i',

// SMTP parameters (only needed for 'backend' => 'smtp'Wink
'host' => '127.0.0.1',
'port' => '25',
'auth' => false,
'username' => '',
'password' => ''

The host, port and auth were provided by the Web Host. Username and password are blank. The lines of code for 'CUSTOM_mail' has been uncommented.

Is the something I've missed or have entered incorrectly?

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
Quote by chrisnz: 'backend' => 'CUSTOM_mail', // can be one of 'mail', 'sendmail', 'smtp'

As the comment states, 'backend' can only take one of the 3 listed values - 'CUSTOM_mail' is not one of them.

But if you uncomment CUSTOM_mail in lib-custom.php, then that function will be used anyway.

Having said that, it sounds like the mail configuration of your PHP install is not correct, so neither CUSTOM_mail nor 'backend' => 'mail' will work. Try 'smtp'.

bye, Dirk

Status: offline

ronack

Forum User
Full Member
Registered: 27/05/03
Posts: 612
And make sure the Super User (Admin) Email is correct.

Status: offline

digitalfiasco

Forum User
Chatty
Registered: 20/10/04
Posts: 42
Are you running your own server or is it hosted somerwhere else? You can also use your email account from your ISP if you wanted a quick fix.

$_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' => 'smtp.your-isp.com',
'port' => '25',
'auth' => true,
'username' => 'your-email@isp.com',
'password' => 'emailpassword'
);

you'll have to find out your ISP info on using your email account, which they easily provide.

Hope that helps

Status: offline

chrisnz

Forum User
Newbie
Registered: 18/07/05
Posts: 2
This is very strange. I'd replied to this post yesterday before any one had posted, but now I see my post has disappeared.

Anyway, my post was to say that I'd fixed the problem already.

The solution was simply to change it to 'mail'. I was sure that during my countly hours to testing that I'd set it to mail, but it'd never worked. But now that it does I'm really happy. I love Geeklog, it's a great product.

Thanks everyone for their reply, really appreciated

All times are EDT. The time is now 12:33 am.

  • 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