Javamail API

Hi,
I am new to javaMail api.
How can I use JavaMail API to get an email from outlook server? Client will send in email with an attachment.

Thanks
chenjhuaAsked:
Who is Participating?
 
CEHJCommented:
How can I use JavaMail API to get an email from outlook server?
There's no such thing as an 'outlook server'. Outlook is a mail user agent, the purpose of which is to retrieve mail from, and send mail to, a mail server. Do you mean 'how do I use JavaMail to get mail from a Microsoft Exchange server' by any chance? If so, you should usually be able to connect to it with IMAP. Googling on 'Java IMAP get mail' should do it for you
0
 
chenjhuaAuthor Commented:
Does Java had a  attachments API ?
0
 
CEHJCommented:
:)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.