File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Creating a simple mail application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic

Creating a simple mail application

JavHarizIRAH Suhas

Joined: Sep 23, 2004
Posts: 2
Hi palz,
Am new to java

I want to create a Mail application which will reads the attributes from a helper class and send Email to The concern person. If any one worked in Java Mail to send mails , Can you please send me sample code for sending mail ??.

1.What are the configuration steps i have to do in my system like ports and all( I am working in an organization which have proxy and firewalls )

2. Can you please send me the sample code to send a mail from java using JavaMail API ?

Thanks in advance

Breath Java.....!!!
Atul Prabhu
Ranch Hand

Joined: Dec 17, 2002
Posts: 60

You could refer to this site

Java Mail

Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
I'm afraid this query does belong to Other Java APIs Forum...

Sooner or later, this will be moved to that forum... The original questions are pretty related to the other Java APIs...

Co-author of SCMAD Exam Guide, Author of JMADPlus
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
I'm closing this thread.

Please continue in the duplicate post in the Other Java APIs forum...

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
I agree. Here's the link:
subject: Creating a simple mail application
It's not a secret anymore!