Advanced search  

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]

Pages: [1]   Go Down

Author Topic: make two administrator email addresses  (Read 4856 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.015 seconds with 15 queries.