Welcome Guest, Not a member yet? Register   Sign In
mail() works on local but not remote
#1

[eluser]bobbob[/eluser]
I am having a problem getting mail() to send any emails from the remote server.
Mamp is fine.
Any ideas. Exact same code
#2

[eluser]elfkid[/eluser]
check php.ini file
#3

[eluser]bobbob[/eluser]
I have this as my path to sendmail:

/usr/sbin/sendmail -t -i

From my phpini.

Does that mean anything to you?
Not sure what is the problem.
Still baffled.


Just added a regular mail() function to my page with no headers and it went through. Something to do with the From and headers I think in the CI class???
#4

[eluser]bobbob[/eluser]
Solved.
The remote server needs the email address to exist before it will send from it.




Theme © iAndrew 2016 - Forum software by © MyBB