• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

java mail doubt

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
jprk box
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys;
i found a free smtp server from postcastserver.com and i'll shall test it.
help me in future queries
 
author and deputy
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can try James(Java Apache Mail Enterprise Server) you can find it from this link http://james.apache.org/
 
jprk box
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 someone@yahoo.com -M smtp.vsnl.net ricky@yahoo.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:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic