• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

java mail doubt

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
reply
    Bookmark Topic Watch Topic
  • New Topic