make two administrator email addresses make two administrator email addresses
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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