javamail - How to read e-mails in a local directory using Java? -
javamail - How to read e-mails in a local directory using Java? -
i create java programme body/message of mail, mails in .eml format , mails placed locally in machine. problem when seek ways i'm still lead utilize folder class requires active mail service server. now, question is, there way can extract message part of e-mail using javamail api without need connect server? because doing extraction of message part of e-mail without including headers impossible filestream.
thanks help.
cheers!
you can utilize "local store provider" javamail, perhaps simplest approach utilize mimemessage takes inputstream. give (buffered) fileinputstream , parse message you.
javamail
Comments
Post a Comment