Advanced search  

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

Pages: [1]   Go Down

Author Topic: make two administrator email addresses  (Read 5107 times)

0 Members and 1 Guest are viewing this topic.

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
make two administrator email addresses
« 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!
« Last Edit: July 30, 2006, 09:58:54 am by GauGau »
Logged

Nibbler

  • Guest
Re: make two administrator email addresses
« Reply #1 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:

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

boltonline

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 41
Re: make two administrator email addresses
« Reply #2 on: July 30, 2006, 02:18:39 am »

Thanks works great!
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.