Link to home
Start Free TrialLog in
Avatar of hon67
hon67

asked on

Send/Receive Mail?

Hi,

Is there any free API provide which allow us to send/read mail from the email server?

I want to develop a JSP page to allow my client to read and send mail through this page.

Can anyone give me the sample or guideline in doing this?

Thank you very much.
Avatar of hon67
hon67

ASKER

Note: In reading mail, I will use a POP3 server and use the SMTP in sending mail.
ASKER CERTIFIED SOLUTION
Avatar of Nushi
Nushi

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
as i said this is only for sending mail.

for retriving mail you will frind answer in the link i gave u.

Nushi.
hi,

I think JavaMail API is the answer to ur question.
go to this link
http://java.sun.com/products/javamail/
from which u can download the latest version.

Sample programs for sending and receiving emails are also included with the package.
Go through it and contact me if u face  any difficulty.

GoodLuck.
Merson
If you are using JRun Server 3.0.  It provided some sort of JSP library which allows you to send and recieve email with few codes of line.
Avatar of hon67

ASKER

Hi tlok,

As I am using JRun Server 3.0, can you give me some simple JSP page in sending and recieve mail?

Thx.
hon67 .

as you know (or maybe not) in a jsp page you can write pure java code.
you can write your own classes and just "paste" them to the jsp page using <%.... tag
Avatar of hon67

ASKER

Hi All,

As I am a beginner in using JSP and writting Bean files,

Can anyone give me a simple jsp page & bean class file in order to read the email from the email server?

Thanks!