sek_see Posted March 31, 2006 Posted March 31, 2006 Confusing email problem. I have access to one server where the global variable is off and another where it's on. I have no problem sending emails from the admin function under the global on. When I go to the global off, my emails never reach destination. I get the "preview" page and the confirmation that the email was sent but it never gets there. The only time it'll work is if I submit to my own email address. I wonder if this has something to do with the php.ini and how it's set up? What could be causing this problem? I use an ISP to host everything btw, not my own. Thank you for any help.
sek_see Posted March 31, 2006 Author Posted March 31, 2006 Does anybody know why I'm able to send emails to my own email address but other email addresses don't work? Do I have to contact my ISP? Any ideas?
MaBiSmAd Posted April 1, 2006 Posted April 1, 2006 Does anybody know why I'm able to send emails to my own email address but other email addresses don't work? Do I have to contact my ISP? Any ideas? Is the "from" address hosted on the email server? If not, then it sounds like the email server is setup to prevent relaying, which it should be. When at least one of the addresses (from, to, or both) is hosted on the server, it will allow the mail. If neither the From or To address is on the server, it thinks you are relaying email and discards it. If the above is the case, when the TO address is on the server (your test case that works) the mail server simply thinks it is receiving an email for one of its' mail boxes and all is OK. When the FROM address is on the server, it simply thinks you are sending an email to some other system (which is what you would like to happen.) When neither address is hosted on the server, it says I don't know who you are and you are not allowed to send mail through me to addresses that I don't host.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.