Hello
I'm trying to use the mail function with my own local mail server in a groupware tool written in php.
- When I use an external SMTP server (the one of my ISP) everything’s fine : I can send and retrieve mails from my external mailboxes.
- When I use my local mailboxes through the client of my mail Server everything is ok
- But when I’m trying to use my my mail server with my local
mailboxes through Php : I can’t send any mail (retrieving mails works fine).
I’m using Win2000 Server, PHP 4.3.1, IIS 5.0, Imail Server 8.0.
I've removed the SMTP server of IIS to avoide conflicts.
I have a Dynamic IP so I didn’t configure any DNS.
Here is my php.ini config :
[mail function]
SMTP = localhost
;SMTP = 127.0.0.1 ;I tried both
smtp_port = 25
sendmail_from = root@mydomain.com;
Do you have any idea of how to make it work ?
Thanks in advance