Forum Moderators: coopster
I have tried quite a few things to get my localhost (IIS) on which I am running phpdev to send mail through its server. I have set it so that only my IP can use the server for a relay in IIS.
I have also altered the php.ini (and restarted it :))
PHPINFO shows the changes but when I go to send mail I get:
Failed to connect to mailserver, verify your "SMTP" setting
Now I have tried a lot of variations more the setting.
eg
smtp.localhost.25
smtp.myip
But all to no avail.
Any suggestions?
Regards
I tried
telnet localhost 25
and it shoots to
220 mycomputername.######.ac.uk M$ ESMTP Mail Service
329 Ready
But I still get an error when I go to execute a script like
I think my problem is related to the line
SMTP = mail.mydomain.com
but am baffled. Sure it is something simple but I am not up in this stuff too much.