News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

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