File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 3640
Have you checked this example?
[ October 18, 2006: Message edited by: Chetan Parekh ]

My blood is tested +ve for Java.
I agree. Here's the link:
subject: Writing a Mailer Program
It's not a secret anymore!