hey guys ; i have win2k, jdk1.2.2 , javamail-1.3 , jaf- 1.0.2 and also j2ee (j2sdkee1.2.1) i can compile the demo program namely msgsend.java and while running it, the mail sent through my isp's smtp server returns back. ie i'm getting a message in my inbox that mail is undeliverable Relay Not allowed can u suggest any smtp server provided by sun , thru which i can send javamail
posted 17 years ago
hi guys; i found a free smtp server from postcastserver.com and i'll shall test it. help me in future queries
you can avoid the relay problem by allowing anonymous access to ur smtp server.If i assuem u r using windows smtp server(iis suite), then go to properties of smtp server,select Access tab, click relay button under relay restrictions, then on the pop window tick the checkbox. now restart the smtp server and try again. If you get the same problem try to play again in smtp properties by setting various access controls.
thank u guys for ur response, but i can't solve the problem. to be more clear; i compiled the demo program in javamail namely "msgsend.java" and then for execution i gave the following command; java msgsend -o firstname.lastname@example.org -M smtp.vsnl.net email@example.com (since vsnl is my isp, and their smtp server is smtp.vsnl.com) but the mail is not transmited to yahoo id
And then the entire population worshiped me like unto a god. Well, me and this tiny ad: