Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Java in General and the fly likes Writing a Mailer Program Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Writing a Mailer Program" Watch "Writing a Mailer Program" New topic

Writing a Mailer Program

dinesh Venkatesan
Ranch Hand

Joined: Oct 12, 2006
Posts: 134
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 But I am not able to send the mails also i didnt receive any Exceptions.

Thanks in advance!

Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Have you checked this example?
[ October 18, 2006: Message edited by: Chetan Parekh ]

My blood is tested +ve for Java.
subject: Writing a Mailer Program