0 Replies Latest reply on Feb 10, 2003 12:03 PM by Stefan Kuehn

    How to use mail-service.xml

    Stefan Kuehn Newbie

      Hi!

      Im using the file mail-service.xml to obtain a Mail-Session via JNDI.
      Sending mails worked fine until i got a new mailserver, that requires authentication :-(

      I have set the Property "User" to the pop3-accountname and the "Password" property holds the password.
      (I use this settings im outlook express too.)

      Can anyone tell how the (pop3-) authentication is done, after getting a mail session with this line of code:

      javax.mail.Session session =
      (Session) jndiContext.lookup(mailSessionName);

      Thanks
      Stefan