E-card in BC E-card in BC
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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!