This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Other JSE/JEE APIs and the fly likes JAVA mail -VERy urgent plz help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "JAVA mail -VERy urgent plz help" Watch "JAVA mail -VERy urgent plz help" New topic
Author

JAVA mail -VERy urgent plz help

sunilkumar ssuparasmul
Ranch Hand

Joined: Dec 13, 2000
Posts: 142
hi all,
I have dowmloaded java mail and jaf.
can somebody help me to run the demo programs or any other program which u have using java mail.please help me out with how to run the programs.
i tried to run a demo application stating host="www.yahoo.com" but it everytime it apperas sending failes . i know i am missing something but dont know what is that.
so somebody who has a code which runs please mail me across stating how to run the codes.i have 2 use it for my project. u r help will be much appreciated.Is there any other software which is 2 be downloaded . please help.
thanks in advance,
sunil.s
------------------
"Winners don't do different things
They do things differently"


"Winners don't do different things<br /> They do things differently"
Deepak Shah
Ranch Hand

Joined: Nov 29, 2000
Posts: 97
Can you specify what actually is the requirement of your project.
If you need to just send mails, I will suggest you to use unsupported API (sun.net.smtp.SmtpClient)
Its very easy and can send mail to any user using SMPT protocol,provided that you specify correct IP address of any SMTP server.
sunilkumar ssuparasmul
Ranch Hand

Joined: Dec 13, 2000
Posts: 142
Hai Deepak,
Thanks for u r help.
But i want to develop a fulll fledged mail engine with functinality of sending and receiving mails and also reading ither mails from different accounts with auto response.
But currently i am concentrating on sending and receving mails.
I can send mail now through the companys SMTP server.
1-I just want 2 know how can i send mails with the actual smtp server of yahoo or any other . do i have per mission for that.
2-How do i connect 2 my yahoo account and transfer all the mails to my system through javamail.
Please help ..
------------------
"Winners don't do different things
They do things differently"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JAVA mail -VERy urgent plz help