Discussion Locked

Java program sending email with Exchange

0 helpful
6 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i have a small java program that connects to port(25) of my mail server(Exchange Server 5.5 SP3), problem is if im sending to other email address that's not within the corporate email im having a "Relaying is prohibited" error. anybody encountered the same problem?

6 replies

by mike_mds

A great many mail servers have open access to that port blocked....leaving that port accessible on your mail server will allow mail relaying, which many spammers use to disguise the source of their junkmail. This can have unpleasant results, such as having your email server blacklisted, or worse, used by spammers to send porno, ads, or get-rich-quick crap out. If your mail server is accessible from the net, I would recommend you go to M$ TechNet and search for the article on shutting off mailrelaying on exchange servers and find out how shut this off on your mail server.

by nutcracker

We decided that the program should be the one to adjust to this problem. Our workaround is to use JSP instead since if we allow relaying our server would be blacklisted. Thanks anyway.

by nutcracker

We decided that the program should be the one to adjust to this problem. Our workaround is to use JSP instead since if we allow relaying our server would be blacklisted. Thanks anyway.

This discussion is closed to new replies.