Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #38514

Re: Use JavaMail API

From Martin Gregorie <martin@mydomain.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Use JavaMail API
Date 2018-08-01 00:49 +0000
Organization albasani.net
Message-ID <pjr022$50i$1@news.albasani.net> (permalink)
References <78pa8a$lah$1@news.nuri.net> <42da993b-7e53-45e2-87e2-97163e01aa47@googlegroups.com> <pja03l$ml6$1@dont-email.me> <b0f05abb-12d1-449b-a40d-44685cbb50c6@googlegroups.com>

Show all headers | View raw


On Wed, 25 Jul 2018 08:40:29 -0700, Eric Douglas wrote:

> On Wednesday, July 25, 2018 at 10:05:50 AM UTC-4, Eric Sosman wrote:
>>      (Nineteen and a half years between post and follow-up.  Is
>> this a record?)
>> 
>>      Try
>> 
>> https://javaee.github.io/javamail/FAQ.html#servletSecurityManager
>> 
>> or more generally,
>> 
>> https://javaee.github.io/javamail/FAQ.html
>> 
>> 
> That's not a follow up as in reply, just someone saying they have the
> same problem someone else had 19 years ago.  While that API has changed
> a bit(I haven't heard of a pop3.jar), if you only specifically need
> Gmail I just use their API
> (https://developers.google.com/api-client-library/java/apis/gmail/v1).

Late reply (been away - just returned): I had that problem recently when 
compiling code under Java 8 that was written and last compiled under Java 
6 and that used the mstor provider to access mail held as multiple 
messages in each file. The cure was simple: download the current mstor 
source, compile it and use it. The problem seemed to be a change in the 
the security managed to made it incompatible with old mstor jarfiles, so 
presumably the same problem can happen with any old mail provider code.


-- 
Martin    | martin at
Gregorie  | gregorie dot org

Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: Use JavaMail API kumarimeenu09@gmail.com - 2018-07-25 04:00 -0700
  Re: Use JavaMail API Eric Sosman <esosman@comcast-dot-net.invalid> - 2018-07-25 10:05 -0400
    Re: Use JavaMail API Eric Douglas <e.d.programmer@gmail.com> - 2018-07-25 08:40 -0700
      Re: Use JavaMail API Martin Gregorie <martin@mydomain.invalid> - 2018-08-01 00:49 +0000

csiph-web