File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Beginning Java
Reply locked New topic
Author

Creating a simple mail application

JavHarizIRAH Suhas
Greenhorn

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

You could refer to this site

Java Mail

--------
A T U L
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
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Dirk Schreckmann
Sheriff

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Creating a simple mail application