Hi everybody,
I used MDaemon as email server for using mail function. But every time run the program either I get error as failed connect if the SMTP is 127.0.0.1.25 and server error if the SPTP is 127.0.0.1 in the php.ini. I am using IIS server and my php is 4.6.3. What might be the reason? Can u plz give any solution or any options.
Him Acharya
troublshooting in mail function
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
127.0.0.1.25 is not a valid address. It should be 127.0.0.1:25.
Troubleshooting.... have you tested if the email server is actually working?
Open a command line and type
If you get a greeting message type "quit" and hit enter because the server is (probably) working in that case. If you can't connect on port 25 the problem is with your mail server and not with PHP. I belive the problem will lie with the mail server myself.
Troubleshooting.... have you tested if the email server is actually working?
Open a command line and type
Code: Select all
telnet localhost 25