make two administrator email addresses make two administrator email addresses
 

News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

make two administrator email addresses

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

Previous topic - Next topic

0 Members and 1 Guest 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