coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 ecards & email => Topic started by: boltonline on July 29, 2006, 06:23:16 PM

Title: make two administrator email addresses
Post by: boltonline on July 29, 2006, 06:23:16 PM
Hey sorry if someone else posted this but i couldnt find exactly what i was looking for....

I am trying to make it so whenever someone comments on the pictures it sends an email to two email addresses.


Please help!
Title: Re: make two administrator email addresses
Post by: Nibbler on July 29, 2006, 08:23:22 PM
It will automatically send to multiple admin addresses. If you want to send to an additional non-admin account then you'll need to mod db_input.php

After:

cpg_mail('admin', $lang_db_input_php['email_comment_subject'], make_clickable($mail_body));

Add:
cpg_mail('name@domain.tld', $lang_db_input_php['email_comment_subject'], make_clickable($mail_body));

(twice)
Title: Re: make two administrator email addresses
Post by: boltonline on July 30, 2006, 02:18:39 AM
Thanks works great!