Discussion Locked

Mailing problem in Java and Telnet

0 helpful
9 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I get an error "Relaying denied" every time I try to send a mail using SMTP server dnai.com through telnet or an application developed in Java. I get "Sender OK" on entering MAIL FROM : "my mail address" but get the error "Relaying denied" after entering the RCPT TO:"recipient address" in telnet. Please help.

9 replies

by rhett.maxwell

This is caused by a security restriction enforced by the mail server. To protect against malicious users, the mail server refuses to send to anyone with an address other than foo@dnai.com.

by nhanaiu99

What I would do is: run the app with different smpt server that doesn't required the security. If the app work, you know it's not your program. It's the smtp server's security. You can get free relay smtp server list from the search and there areplenty out there you can try.

Best Regards,
Nhan Nguyen

This discussion is closed to new replies.