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
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.
Test your mailing abilities independently of Coppermine. Once you know it actually works then use it with Coppermine.
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
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)));
Perfect... thank you so much for the help.
Keep up with the awesome work!
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.
split unrelated reply into separate thread (http://forum.coppermine-gallery.net/index.php?topic=29174.0), locking this one.