geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John <>
Subject Re: SecurityException trying to use JavaMail
Date Tue, 14 Oct 2008 16:02:16 GMT
Rick McGuire wrote:
>> The simpler solution, if you are not dependent upon the properties 
>> that the javamail session has been configured with, would be to use 
>> getInstance() rather than getDefaultInstance().

Hi Rick and Kevan,

Thank you both for your response and I apologize for the delayed 
response as I was out of town for a few days. 

The fix suggested above (changing from getDefaultInstance to 
getInstance) works fine.

Thanks again,

View raw message