Example of Javamail with SMTP and POP3 on SSL

C

Charter

Hello all,

I am new to Javamail. I was working on a project in C++ under MS Windows
(I know, boo) and decided to switch to Java. Most things are going well,
except the mail part. I need to send and receive E-Mail with POP3 and SMTP
running on SSL. I need to use authorization and alternate port numbers. It
should be simple, but I don't seem to be able to figure it out. Could
someone out there that knows a lot more than me about Javamail (that won't
be hard) send or post a simple example of doing this?

TIA,
Adam
 
A

alan

Hello all,

I am new to Javamail. I was working on a project in C++ under MS Windows
(I know, boo) and decided to switch to Java. Most things are going well,
except the mail part. I need to send and receive E-Mail with POP3 and SMTP
running on SSL. I need to use authorization and alternate port numbers. It
should be simple, but I don't seem to be able to figure it out. Could
someone out there that knows a lot more than me about Javamail (that won't
be hard) send or post a simple example of doing this?

Examples that have worked for me in the past.

http://java.sun.com/developer/onlineTraining/JavaMail/contents.html

No so much.

http://www.jguru.com/faq/JavaMail

Never did SSL. Let me know.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top