E-card in BC E-card in BC
 

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]

Main Menu

E-card in BC

Started by Pé, December 05, 2003, 06:33:29 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

I like the functionality of the e-card, but I would like to know who uses it. Can I change something in the php-code that every e-card is send to me also in BC?
I suppose I have to chance something in this file: mailer.inc.php

Thanks for any help.


Nibbler

I havent tested this since I don't use ecards myself, but if you open ecard.php, line 101:


$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, $sender_email);

If you duplicate that line and fill in your email in the second occurence it should just send out a card to both yourself and the intended recipient.

eg:

$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, $sender_email);
$result = cpg_mail('you@email.com', $subject, $message, 'text/html', $sender_name, $sender_email);

Thanks! It works perfectly!