This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Writing a Mailer Program

 
dinesh Venkatesan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Can anybody give me some idea to write a Mailer Program in Java which is capable of sending mails to any mailids.

I tried this using Java Socket Programming, using a Socket to bound at port 25 on smtp.mail.yahoo.com. But I am not able to send the mails also i didnt receive any Exceptions.

Thanks in advance!

dinesh.V
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you checked this example?
[ October 18, 2006: Message edited by: Chetan Parekh ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic