General discussion

Locked

Mailing problem in Java and Telnet

By davegaurav ·
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.

This conversation is currently closed to new comments.

9 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

Mailing problem in Java and Telnet

by rhett.maxwell In reply to Mailing problem in Java a ...

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.

Collapse -

Mailing problem in Java and Telnet

by davegaurav In reply to Mailing problem in Java a ...

The question was auto-closed by TechRepublic

Collapse -

Mailing problem in Java and Telnet

by rhett.maxwell In reply to Mailing problem in Java a ...

try using the recipient admin@dnai.com, you will get a Recipient OK message.

Collapse -

Mailing problem in Java and Telnet

by davegaurav In reply to Mailing problem in Java a ...

The question was auto-closed by TechRepublic

Collapse -

Mailing problem in Java and Telnet

by nhanaiu99 In reply to Mailing problem in Java a ...

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

Collapse -

Mailing problem in Java and Telnet

by davegaurav In reply to Mailing problem in Java a ...

The question was auto-closed by TechRepublic

Collapse -

Mailing problem in Java and Telnet

by sangeetha_1 In reply to Mailing problem in Java a ...

The port for the smtp server has to be opened for sending out mails.

Collapse -

Mailing problem in Java and Telnet

by davegaurav In reply to Mailing problem in Java a ...

The question was auto-closed by TechRepublic

Collapse -

Mailing problem in Java and Telnet

by davegaurav In reply to Mailing problem in Java a ...

This question was auto closed due to inactivity

Back to Web Development Forum
9 total posts (Page 1 of 1)  

Related Discussions

Related Forums