E-card in BC E-card in BC
 

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

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!