請問我是用php連smtp寫一個寄email的程式, 在用telnet試我的機器環境時 遇到了下面的錯誤.我用相同的code在別的機器上可以成功的收的信
請問我有可能哪個地方設置錯誤. 謝謝
[root@10.1.1.1]# telnet smtpserver.ip 25
Trying smtpserver.ip ...
Connected to smtpserver.ip .
Escape character is '^]'.
220 mail3.smtpserverdomain.com ESMTP Service (Lotus Domino Release 7.0.2) ready at Tue, 6 Jul 2015 00:00:00 -0400
HELO smtpserver.ip
250 mail3.smtpserverdomain.com Hello smtpserver.ip ([10.1.1.1]), pleased to meet you
MAIL FROM: <test@domain.com>
554 Mail from test@smtpserverdomain.com rejected for policy reasons.
quit
221 mail3.smtpserverdomain.com SMTP Service closing transmission channel
Connection closed by foreign host.