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: fa*******@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