3 Replies Latest reply on Sep 21, 2010 2:07 PM by Claus Ibsen

    camel-mail smtp endpoint returning authentication failure

    Stephen Dekker Newbie

      I am trying to send simple text email message via smtp endpoint and getting MailAuthenticationException thrown from underlying mail transport.  I have a separate SMTP send mail java client that does successfully send the message via smtp using the same parameters.  I am using Camel 2.4.


      When I set debugMode=true the only DEBUG that appears on the karaf console is "DEBUG: setDebug: JavaMail version 1.4.3" upon starting the osgi bundle.  None of the other JavaMail debug statements are seen, could they be getting redirected somewhere else?  I need to see these debug statements to see what the mail transport is actually doing.  Any ideas on how to see the javamail debug statements?



      Error org.springframework.mail.javamail.MailAuthenticationException: Authentication Failed; nested exception is javax.mail.AuthenticationFailedException: 334



      SMTP endpoint: