Welcome to Geeklog, Anonymous Wednesday, May 01 2024 @ 07:04 pm EDT

Geeklog Forums

Emailing problem


Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
hopeful
In the last three days I freshly installed GeekLog v1.3.11sr1

I previously set up another gl site about four months ago and had probs with email. I changed the email backend to smtp and everything was fine. So for this install I did that straight away.

Here's my config.php

Text Formatted 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'     => 'mail.hosting365.ie',
    'port'     => '25',
    'auth'     => false,
    'username' => 'smtp-username',
    'password' => 'smtp-password'
);
 


I receive notification when users submit for an event, link, account and comment, so I know the site can email. But the problem is users can't email each other and anon users can't email anyone on the site either. Even though I do get an email successfully sent message.

In the config file I also have,

Text Formatted Code
// This is the return address for all email sent by Geeklog:
$_CONF['site_mail']         = 'webmaster@shanegibney.com';
 


Anyone got any ideas? Is there some setting somewhere I'm missing or something?

I use a cpanel and host with a company.

Shane
Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Perhaps the problem is in your site title: do not use any strange characters like dots and '
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
hopeful
Hi Beewee,

Thanks for your reply.

I changed config.php to take out the apostrophe. It now reads,

$_CONF['site_name'] = 'Shanes site';

But still the same problems.

Pear is set,

$_CONF['have_pear'] = false;

I tried it with Pear set to true and no luck.

I phoned my hosting company and they said there's nothing they need to turn on, it should work.

I read the FAQ email configuration too.

I've just tried to have all the settings from my other gl site the same. That site uses smtp successfully. They're both with the same hosting company.

Is there anything else I should try?

Shane
Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

beewee

Forum User
Full Member
Registered: 08/05/03
Posts: 969
Location:The Netherlands, where else?
Are they running the same GL version? Is the site with the mailing problem perhaps running a GL version without PEAR? In that case download the PEAR package from the CVS site, install is easy.

I'm running out of other helpful suggestions.... Mr. Green
Dutch Geeklog sites about camping/hiking:
www.kampeerzaken.nl | www.campersite.nl | www.caravans.nl | www.caravans.net
 Quote

Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
hopeful
Ah! Please don't tell me your running out of helpful suggestions praying it will work

The older site was and is running 1.3.11 and hasn't been updated.
The site I'm now working on is running 1.3.11sr1.

So I'm pretty sure 1.3.11 had Pear, or does it?

The config above is an actual copy and paste so where it says

'username' => 'smtp-username',
'password' => 'smtp-password'

should I have an actual password there. The way it is above is how it is on my other site.

Thanks for your help so far.

Shane
Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ofey: The config above is an actual copy and paste so where it says

'username' => 'smtp-username',
'password' => 'smtp-password'

should I have an actual password there. The way it is above is how it is on my other site.

Erm, yes, this should be your actual account information. I would be very surprised if it worked like that ...

You may also have to set 'auth' => 'true'.

bye, Dirk
 Quote

Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
hopeful
Hi Dirk,

Thanks for your reply.

My config settings are as follows

$_CONF['site_mail'] = 'webmaster@shanegibney.com';

$_CONF['have_pear'] = false;

'auth' => false,
'username' => 'webmaster@shanegibney.com',
'password' => 'password for above email address'

I hadn't realised that the user name is actually the site email. Surprised

There are three things I want to work:
1.Email notification for submissions of all kind
2.Enable emailing of users on site
3.User receives a emailed password on approve of the user submission.

Before I could only 1. or 2. to work.
Now both work but 3. dosen't work

If I don't leave out the apostrophes around the word false in

'auth' => false,

None of 1,2 or 3 work.

Anyone have any thoughts on this Question

Shane


Those who say it can't be done, are usually interrupted by others doing it.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by ofey: 'username' => 'webmaster@shanegibney.com',

Are you sure this is your SMTP username?


Quote by ofey: If I don't leave out the apostrophes around the word false in

'auth' => false,

None of 1,2 or 3 work.

Yeah, sorry. true / false should be written without the single quotes there.

bye, Dirk
 Quote

Status: offline

ofey

Forum User
Full Member
Registered: 03/18/05
Posts: 213
Location:Dublin, Ireland
Dirk and beewee thank you for your help.

After trying on and off for a week, I don't seem to be able to get smtp to work (Nothing "simple" about it!).

So I changed the backend to 'mail' and all is well now Big Celebration

Thanks,

Shane
Those who say it can't be done, are usually interrupted by others doing it.
 Quote

All times are EDT. The time is now 07:04 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