make two administrator email addresses make two administrator email addresses
 

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

make two administrator email addresses

Started by boltonline, July 29, 2006, 06:23:16 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

boltonline

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!

Nibbler

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)

boltonline