ECards Not Sending but no Error. ECards Not Sending but no Error.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

ECards Not Sending but no Error.

Started by SniperX, February 07, 2004, 09:31:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

SniperX

We've been experimenting with the e-cards system a bit. We fill in all the details and it all seems to go well. No errors are returned and it says that it was sent.

However, that's the last we ever see of it.

We're using php's built in mail, and I guess it must be working as I just got a new mail from my forums, also using php mail.

Any thoughts or suggestions on what could be wrong?

Joachim Müller

without further info (like a link, or what you changed about it, or your server config) it's impossible to tell.

GauGau

P.S. PHP doesn't have mail support, but your webserver (usually apache) has got a built-in smtp server that is being used to send mail...

SniperX

QuoteP.S. PHP doesn't have mail support, but your webserver (usually apache) has got a built-in smtp server that is being used to send mail...

Sorry, as you can tell, I'm a php idiot.  :D  

OK, hopefully I'll give enough info here as it's still a problem.

Bridged with Invision 1.3 Final.

Gallery Link http://www.guiskins.com/studiox/imgbank/

Forum Link: http://www.guiskins.com/studiox/forums/

phpInfo Link: http://www.guiskins.com/studiox/infotest.php

From mailer.php:

$CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';
// Custom mail function

Apart from altering the two template files, no code changes have been made. However, after further experimenting, the following seems to be the case.

If a user (who is within the members group in our forums) posts an ecard to me (as an Admin within the forums) I will get the card.

If I send a card, as an Admin, to anyone else (Member) then they will not receive it. If I send one to myself (Admin --> Admin) I will not receive it.

I'm pretty certain that is the scenario.

Hope you can provide some help as it's driving me a bit potty. (Not that I was a wee bit before.)  :D

Thanks in advance for any suggestions, etc. I'm happy to grant you admin access to both the forums and the gallery if that will help?

Update: After investigating this one further, I've narrowed it down to something to do with Hotmail account users.

Example: Take the exact same image. If the card is sent to my main non-hotmail address I receive it. If sent to my hotmail address I never see it.

The image size being sent is lower than the Hotmail 1MB. We just tried a 833 bytes image to a hotmail account and it was never seen. Sent the same image to a regular mail account and all was fine.

Seems that Hotmail may not like something about the mail, ergo, not processing it. It's a bug I can reproduce everytime.

Nibbler

Just tried it and get the same results as you from your gallery, although I can mail my hotmail account just fine from my own gallery. Indicates this is probably a host/server issue rather than a problem with coppermine itself, but I cant think of any solution other than asking your hosting company.

SniperX

QuoteIndicates this is probably a host/server issue rather than a problem with coppermine itself, but I cant think of any solution other than asking your hosting company.

That's interesting and thank you for taking a look. That being the case, it looks like I'm going to have to try and convince a server admin that he's wrong. Failing that, I can try cooling off in hell. About the same chances I think.  :D

May have found other possible reason, here. http://vancouver.php.net/forum/viewtopic.php?t=408

Seems this is quite a common problem. Off to look into it more. I refuse to be beaten by a bit of code!

moorey

Quote from: "SniperX"
Quote$CONFIG['smtp_host'] = '';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';

Try changing that to
Quote$CONFIG['smtp_host'] = 'localhost';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';

SniperX

QuoteTry changing that to $CONFIG['smtp_host'] = 'localhost';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';

Tried that. Still the same. Fast running out of ideas here.  :)

lace1215

Quote from: SniperX on February 09, 2004, 01:48:29 PM
QuoteTry changing that to $CONFIG['smtp_host'] = 'localhost';
$CONFIG['smtp_username'] = '';
$CONFIG['smtp_password'] = '';

Tried that. Still the same. Fast running out of ideas here.  :)

I just wanted to report that I had the same issue as above. Everything seemed to work but no card was actually sent. I found this thread by searching and after reading it I changed the file mailer.inc.php to reflect the changes above and it all works like a charm now.

Thank you GauGau for such a great place to find the answers we are looking for! And Thank you SniperX for your code snipet...

Laurie
Laurie