commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siegfried Goeschl <siegfried.goes...@it20one.com>
Subject Re: [email] - Secure Password Authentication in Outlook
Date Tue, 27 May 2014 16:57:32 GMT
Hi folks

this is a common problem I have 

*) one option is to ask the operations team politely to enable SMTP with standard authentication
*) there is a mail debug flag which allows you tracing the SMTP traffic - this helps with
trouble shooting (-Dmail.debug=true)

Cheers,

Siegfried Goeschl 



On 27 May 2014, at 18:52, Thomas Neidhart <thomas.neidhart@gmail.com> wrote:

> On 05/27/2014 03:22 PM, Alex Chard wrote:
>> Hi all
>> 
>> 
>> 
>> I'm using the Apache Commons Email classes to send emails using SMTP. I'm
>> connecting via SMTP so I don't have to support multiple configurations for
>> different server providers (Outlook, Notes, ect).
>> 
>> As always, it's not that simple.
>> 
>> 
>> 
>> One of the options Microsoft provide is Secure Password Authentication. A
>> bit of research shows this is something to do with NTLM, but I'm struggling
>> a bit with understanding what bit is SPA, and what bit is NTLM. Not to worry
>> about that for now.
>> 
>> 
>> 
>> My main question is, does the Apache Commons Email support SPA? If so, how
>> do I set that? 
> 
> Commons Email is more or less a convenient wrapper for JavaMail, which
> should support NTLM authentication (although only with recent versions,
> reports vary from 1.4.3 to 1.4.7).
> 
> Some success stories can be found here:
> 
> http://stackoverflow.com/questions/4337812/javamail-ntlm-authentication-failure
> 
> Eventually, you need to set your NTLM domain, as described in this howto
> from JavaMail:
> 
> https://javamail.java.net/docs/NTLMNOTES.txt
> 
> Best regards,
> 
> Thomas
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
> 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message