Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: No emails...  (Read 5134 times)

0 Members and 1 Guest are viewing this topic.

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
No emails...
« on: March 04, 2006, 01:36:00 am »

Hey guys, I've been having some problems with coppermine email function.

I've tried to enabled user registration email notification but no go it doesn't send any email nor to the new user nor to the admin!
I've tried using the SMTP function with a working SMTP server/account and still no emails. I won't even get eCards...

System is installed on my home rig running FC4. Everything else works perfect.

I was wondering if I would need to add the SMTP port to the iptables... If not what else could I try?

Thanks,
Sam
« Last Edit: March 06, 2006, 04:20:39 pm by Nibbler »
Logged

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: No emails...
« Reply #1 on: March 04, 2006, 02:39:38 am »

Oh I'm using 1.4.4 and while trying to use Sendmail my mail queue is empty a while after the mail should have been sent... hence me not using it :(

Dunno what else to do.
Logged

Nibbler

  • Guest
Re: No emails...
« Reply #2 on: March 04, 2006, 02:43:06 am »

Test your mailing abilities independently of Coppermine. Once you know it actually works then use it with Coppermine.
Logged

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: No emails...
« Reply #3 on: March 06, 2006, 08:36:43 am »

Thanks! Had some issues with sendmail and my dyndns settings but it's all working great now.

Just a quick question... I have setup the "Admin activation of registrations". I only want emails sent to my email and not all the admins... Right now it's sending to the Gallery administrator email as well as mine (gallery email is a forward to my email so I'm getting dupes)...

I'm assuming it's somewhere in the mailer.inc.php file (around //send mails to ALL admins...)... I'm just not sure how to tweak it so that it does just that (and not break the site in the process).

Thanks for the help,
Sam
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: No emails...
« Reply #4 on: March 06, 2006, 09:54:16 am »

Try this in register.php:

FIND:
Code: [Select]
cpg_mail('admin', sprintf($lang_register_php_def['notify_admin_request_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_approve_email_def, $template_vars)));
CHANGE to:
Code: [Select]
cpg_mail('your@address.com', sprintf($lang_register_php_def['notify_admin_request_email_subject'], $CONFIG['gallery_name']), nl2br(strtr($lang_register_approve_email_def, $template_vars)));
Logged

samw5

  • Coppermine newbie
  • Offline Offline
  • Posts: 18
Re: No emails...
« Reply #5 on: March 06, 2006, 03:55:12 pm »

Perfect... thank you so much for the help.

Keep up with the awesome work!
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: No emails...
« Reply #6 on: March 06, 2006, 05:12:22 pm »

You're welcome. Next time, one question per thread, please, with the appropriate title to help others searching for the same issue to find it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: No emails...
« Reply #7 on: March 15, 2006, 06:24:20 am »

split unrelated reply into separate thread, locking this one.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.