Author Topic: Send Email to Admin NOT WORKING  (Read 2830 times)

Offline littleone

Send Email to Admin NOT WORKING
« on: September 05, 2006, 02:31:48 am »
For some reason the "Send email to admin" does not work.  Any reason for this?  I am using 2.2

Offline matkins70

Re: Send Email to Admin NOT WORKING
« Reply #1 on: September 05, 2006, 11:36:45 am »
What do you mean by "not working"?

If its something like, you send the mail, but it doesnt arrive, are you using Hotmail?  For some reason, Hotmail likes to delete emails from some servers.  Still havent looked into how to get around this.

Offline littleone

Re: Send Email to Admin NOT WORKING
« Reply #2 on: September 06, 2006, 07:19:19 am »
What do you mean by "not working"?

If its something like, you send the mail, but it doesnt arrive, are you using Hotmail? For some reason, Hotmail likes to delete emails from some servers. Still havent looked into how to get around this.

Yea I figured it out about an hour after I made the post.  It was hotmail.  Thats completely dumb of hotmail.  Anyway I am pretty sure its because it coming from "Nobody" so since hotmail dont recognize a sender, is probably why its deleting it.

Offline matkins70

Re: Send Email to Admin NOT WORKING
« Reply #3 on: September 06, 2006, 07:25:56 am »
Yeah, very annoying. Gmail handles it fine.  Must look into how to get hotmail to accept it

Offline Daniel15

Re: Send Email to Admin NOT WORKING
« Reply #4 on: September 08, 2006, 09:11:28 pm »
Quote
  Anyway I am pretty sure its because it coming from "Nobody"
That sounds like a configuration problem on your server.

You could try doing this to fix it:
Open Sources/shop/items/EmailAdmin.php, and find:
        mail($to$subject$message) or die("Error sending message to admin! Please inform the Admin of this error. This item will still be available in your inventory.");
Replace with:
        mail($to$subject$message"From: Your Name <youremail>") or die("Error sending message to admin! Please inform the Admin of this error. This item will still be available in your inventory.");
Replace the  'Your Name' with your name, and 'youremail' with your email address. This will try to attach a 'From' header to the email.