Link to home
Start Free TrialLog in
Avatar of srinivasavaradhan
srinivasavaradhanFlag for India

asked on

java code for accessing email attachments

How do i retrieve and add attachments to an email using POP3 and SMTP. Please give the java code required to do these two things.
Avatar of srinivasavaradhan
srinivasavaradhan
Flag of India image

ASKER

I have written codes in java to send and receive mail using POP3 and SMTP.  But i don't know how to really access the attachments, how they can be recognized and the logic behind accessing them.  I dont want to work with any email clients.
Avatar of heyhey_
heyhey_

read the protocol specification carefully :)
or search the web.
I've seen at least one or two attachment examples.
ASKER CERTIFIED SOLUTION
Avatar of pgau061099
pgau061099

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
This question was awarded, but never cleared due to the JSP-500 errors of that time.  It was "stuck" against userID -1 versus the intended expert whom you awarded.  This corrects the problem and the expert will now receive these points; points verified.

Please click on your Member Profile and select "View Question History" to navigate through any open or locked questions you may have to update and finalize them.  Or if you are an EE Pro user, click the link below to select open items for your Member ID using Power Search:
https://www.experts-exchange.com/jsp/qPowerSearch.jsp.

This is the Community Support link, if help is needed, along with the link to All Topics which reflects many TAs recently added.

https://www.experts-exchange.com/jsp/qList.jsp?ta=commspt
https://www.experts-exchange.com/jsp/zonesAll.jsp
 
Thank you,
Moondancer
Moderator @ Experts Exchange