Advanced search  

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

Pages: [1]   Go Down

Author Topic: E-card sent but generates error msg anyway  (Read 3883 times)

0 Members and 1 Guest are viewing this topic.

mistertynes

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
E-card sent but generates error msg anyway
« on: April 14, 2005, 03:50:16 am »

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
« Last Edit: April 14, 2005, 04:35:52 pm by GauGau »
Logged

Nibbler

  • Guest
Re: E-card sent but generates error msg anyway
« Reply #1 on: April 14, 2005, 03:55:38 am »

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

Code: [Select]
$result = cpg_mail($recipient_email, $subject, $message, 'text/html', $sender_name, $sender_email);
and add on the next line :

Code: [Select]
$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.
Logged

mistertynes

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Re: E-card sent but generates error msg anyway
« Reply #2 on: April 14, 2005, 01:01:07 pm »

Hey Nibbler that worked like a charm! Thanks.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 15 queries.