Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: No mail sent to the administrator - cpg 1.5.24  (Read 4345 times)

0 Members and 1 Guest are viewing this topic.

ogio71

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
No mail sent to the administrator - cpg 1.5.24
« on: October 26, 2013, 09:08:42 am »

Hi all,

I installed CPG1.5.24, and configured it to send email for the registration.
The email to the user is correctly sent, but, after the user click on the link in the email, nothing arrive to the administrator.
I changed the include/functions.inc.php with the code suggested on a different thread, but nothing changed.
The code I added was
Code: [Select]
if ( !function_exists('htmlspecialchars_decode') )
{
    function htmlspecialchars_decode($text)
    {
        return strtr($text, array_flip(get_html_translation_table(HTML_SPECIALCHARS)));
    }
}

After the administrator activated the user, another email is sent to the user.
So I can't understand why only emails to the administrator are not sent.

I tested it with 2 different admin account, without any results.
Can someone know if there is an issue regarding that?

Regards
 Ambrogio
Logged

ogio71

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: No mail sent to the administrator - cpg 1.5.24
« Reply #1 on: October 28, 2013, 10:25:20 pm »

Hi all,
There is a problem that I can't understand.
In the configuration field, there is a field "gallery_admin_email" and i configured the administrator email there.
So I think that all registration mails should be delivered to this address.

There is also another field in the user table, for the root user.
In my case the email address is different from the admin email.

Now, the email registration are delivered to the root address and not to the admin address.

Otherwise, the comments are delivered to the admin address.
I think this is a bug
What do you think about?

Regards
 Ambrogio
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15369
Re: No mail sent to the administrator - cpg 1.5.24
« Reply #2 on: October 29, 2013, 04:04:08 pm »

the email registration are delivered to the root address and not to the admin address.
Does this mean your initial issue doesn't exist at all, as the email has been sent just to another address than you expected?


I think this is a bug
What do you think about?
It's definitely inconsistent. I haven't checked the docs or the code yet if this behavior is intended.
Logged

ogio71

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: No mail sent to the administrator - cpg 1.5.24
« Reply #3 on: November 04, 2013, 10:54:56 am »

Hi André
Thankyou for reply.

Does this mean your initial issue doesn't exist at all, as the email has been sent just to another address than you expected?
Yes.. the initial issue doesn't exist because I checked for mails delivered to an account  :(

It's definitely inconsistent. I haven't checked the docs or the code yet if this behavior is intended.
I don't know, but I think it is an error, even if the root account and the administrator account can be the same uman, the email addresses can be different.

Let me know if you check it
I can't understand PHP so I can't check the code.

Regards
 Ambrogio
Logged
Pages: [1]   Go Up
 

Page created in 0.021 seconds with 20 queries.