This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to send email

 
Fella Oyebobo
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How do I send an email, just a dummy email to someone, from a java apllication. This is going to cost me 100percent for extra credits if I don't get it done in two days.
Thanx.
 
manav kher
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
try the javamail api its simple to use and you should find some sample code at www.javasoft.com I used it for a school project and its like 10 lines of code.
and if your code is not in java you can get plenty of freeware scripts/c code that should do the trick.
-manav
 
Fella Oyebobo
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried the sun site u gave me and I couldn't find anything, pls I am so much in need of these. I don't know if I wasn't looking well or it was something else but kindly help me check for it.
Thanx
Originally posted by manav kher:
try the javamail api its simple to use and you should find some sample code at www.javasoft.com I used it for a school project and its like 10 lines of code.
and if your code is not in java you can get plenty of freeware scripts/c code that should do the trick.
-manav

 
Jyotsna Clarkin
Ranch Hand
Posts: 158
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Fella Oyebobo:
I don't know if I wasn't looking well or it was something else but kindly help me check for it.

Most sites have a search engine. You should at least be able to use these effectively.
Here is the JavaMail API link http://www.javasoft.com/products/javamail/index.html
and the FAQ http://www.javasoft.com/products/javamail/FAQ.html
I have never used JavaMail so I can't help any more than that. Sorry.
regards,
Jyotsna
 
Maky Chopra
Ranch Hand
Posts: 149
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a sample javamail servlet I used.. your application would have similar code :
Edited by me
Come to think of it.. When was the last time someone gave me the entire source code... Sorry guy. But i just deleted the source code that I had posted..
Here is the javamail faq that you should be looking at @ javasoft.
http://www.javasoft.com/products/javamail/FAQ.html
[This message has been edited by Mak Bhandari (edited April 30, 2001).]
 
manav kher
Ranch Hand
Posts: 98
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is not a good way to help a student. If you post the entire code then where is the incentive for him to learn and explore things on his own. You are not helping him at all.
-manav
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic