File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

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 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

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Writing a Mailer Program