E-card sent but generates error msg anyway E-card sent but generates error msg anyway
 

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 sent but generates error msg anyway

Started by mistertynes, April 14, 2005, 03:50:16 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mistertynes

Hello. I find this software fantastic and I'm just exploring. Right now after getting all installed and verifying that I can upload both via the web and through the pub functino of WinXP, I tried out the e-card.

The e-card does in fact send and quite quickly but it generates an error whether I'm logged in as a user or just an anon visitor to the site. I've enabled e-cards to be sent for everyone.

It tells me: "Sorry but the server can't send your e-card... " Now the e-card arrives in beautiful HTML with all the graphics and formatting and all is well. But the message pops up in Coppermine everytimes. So I'm glad it goes out but I want to eliminate the message. I'm afraid it's disconcerting to visitors to the site. I want it seamless, no errors.  :P

What can I do to eliminate this error. Surely someone has encountered it before.

Thanks!
~Jeff

Nibbler

I don't know why that would happen, but ecard.php you can find :

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

and add on the next line :

$result = true;

to allways give a positive result.

Maybe switching to SMTP to send your emails would help - enter the details in mailer.inc.php.

mistertynes

Hey Nibbler that worked like a charm! Thanks.