coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Ecards & Email => Topic started by: marcodallas on April 11, 2005, 09:33:48 PM

Title: I would like to send the e-cards from a single email please.
Post by: marcodallas on April 11, 2005, 09:33:48 PM
Hello,

         First of all, thank you for taking some of your time reading and answering my post.

         Here is my issue, I would like to change the file mailer.inc.php so that all the e-cards are being sent from a single e-mail (Such as  name@mydomain.com). I would like to know what part of the code I should change it order to make it happen. Thank you very much for everything!  :)   Marco.
Title: Re: I would like to send the e-cards from a single email please.
Post by: Nibbler on April 11, 2005, 10:28:36 PM
ecard.php, find:

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

change to

$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, 'name@mydomain.com');
Title: Re: I would like to send the e-cards from a single email please.
Post by: marcodallas on April 11, 2005, 10:56:42 PM
Hey there Nibbler,


Awesome!! It worked!! Yay! :) Thanks for answering to my question after only ...umm... a few minutes =) You roooooooooock!!   ;D   Marco.