mail() function doesn't seem to be sending MAIL FROM: properly
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

mail() function doesn't seem to be sending MAIL FROM: properly

From: <tzuccolo2001@yahoo.com>
Date: Tue Jun 28 2005 - 00:16:11 CEST

I'm trying to send an email using the mail() function. I've carefully
made use of the ini_set(SMTP, "mail.my.server") function to set my SMTP
server and also to set my From: address. I'm still getting a "Relaying
not explicitly allowed: fakeemail@fakedomain.com" response from the
server however, when I try and set a recipient who is outside of my own
domain. This makes my think that the From: address is somehow not
getting sent to my server properly or that I'm pointing at the wrong
server.

The confounding thing is that it was working for a while and I don't
think I changed anything and it just stopped.

I'm running these PHP pages for a client off of one of those cheap
hosting services, I think it's called 1dollarhost.com or something,
although I can't remember at the moment.

Has anyone else had trouble with this or found a solution?

Many thanks,
Todd
Received on Mon Oct 24 02:08:34 2005