Advanced search  

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]

Pages: [1]   Go Down

Author Topic: ECards Not Sending but no Error.  (Read 3762 times)

0 Members and 1 Guest are viewing this topic.

SniperX

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
ECards Not Sending but no Error.
« on: February 07, 2004, 09:31:43 pm »

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?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
ECards Not Sending but no Error.
« Reply #1 on: February 08, 2004, 11:51:28 am »

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...
Logged

SniperX

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
ECards Not Sending but no Error.
« Reply #2 on: February 08, 2004, 12:38:51 pm »

Quote
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...


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.
Logged

Nibbler

  • Guest
ECards Not Sending but no Error.
« Reply #3 on: February 08, 2004, 04:35:10 pm »

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.
Logged

SniperX

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
ECards Not Sending but no Error.
« Reply #4 on: February 08, 2004, 06:12:07 pm »

Quote
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.


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!
Logged

moorey

  • VIP
  • Coppermine frequent poster
  • ***
  • Offline Offline
  • Posts: 404
ECards Not Sending but no Error.
« Reply #5 on: February 09, 2004, 03:23:31 am »

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'] = '';
Logged

SniperX

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
ECards Not Sending but no Error.
« Reply #6 on: February 09, 2004, 01:48:29 pm »

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


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

lace1215

  • Coppermine newbie
  • Offline Offline
  • Gender: Female
  • Posts: 6
    • Ultimate Bass
Re: ECards Not Sending but no Error.
« Reply #7 on: September 05, 2004, 10:15:34 pm »

Quote
Try 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
Logged
Laurie
Pages: [1]   Go Up
 

Page created in 0.055 seconds with 14 queries.