My php script is in a intranet server, but I need to be able to send mail to anyone. To do this i need to send mail through a remote mail server. I configured the php.ini file as follows:
SMTP = remoteMailServer_Addr
and tryed commenting, and uncommenting the following:
sendmail_from = address@remoteMailServer
sendmail_path = /usr/sbin/sendmail -i -t
For some reason it will not use the remote Mail server to send the emails (even when i comment the sendmail stuff). Can anyone give me a hint as to what is going on.