This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization 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