Forum Moderators: coopster
Have you tried
telnet smtp.mailhost.tld 25to test whether there is some MTA listening? You can talk SMTP directly like this:
E:\>telnet server 25
Trying 192.168.0.10...
Connected to server.
Escape character is '^]'.
220 berufsausbildung-online.de ESMTP Sendmail 8.11.6/8.11.0; Thu, 5 Sep 2002 23:
17:35 +0200
MAIL FROM:<root@localhost>
250 2.1.0 <root@localhost>... Sender ok
RCPT TO:<af@localhost>
250 2.1.5 <af@localhost>... Recipient ok
DATA
354 Enter mail, end with "." on a line by itself
Test
.
250 2.0.0 g85LHpt13781 Message accepted for delivery
QUIT
221 2.0.0 berufsausbildung-online.de closing connection
Connection closed by foreign host.E:\>
If the MTA on some non-standard port you need to set that as well in your php.ini.
[edited by: andreasfriedrich at 9:20 pm (utc) on Sep. 5, 2002]
The next small problem I have is that send mail is working from my local machine but it seems to interperate scripts slightly differently and now, for example, a form that I am sending sends all the form fields along with all the variables appended to the fields. On the server it just sent the results of the fields!
Another late night...