No emails... No emails...
 

News:

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

Main Menu

No emails...

Started by samw5, March 04, 2006, 01:36:00 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

samw5

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

samw5

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.

Nibbler

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

samw5

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

Tranz

Try this in register.php:

FIND:
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:
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)));

samw5

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

Keep up with the awesome work!

Tranz

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.

Joachim Müller

split unrelated reply into separate thread, locking this one.