Mantis - Resin
Viewing Issue Advanced Details
2822 minor always 08-05-08 09:51 08-13-08 11:41
ferg  
ferg  
normal  
closed 3.2.0  
fixed  
none    
none 3.2.1  
0002822: extend mail config for authenticator
(rep by Daniel Lopez)


<mail>
     <authenticator type="com.caucho.server.security.XmlAuthenticator">
        <init>
          <user name="theusername" password="thekeyword"/>
        </init>
     </authenticator>
       <jndi-name>mail/SecureSMTP</jndi-name>
       <smtp-host>smtp.gmail.com</smtp-host>
       <smtp-port>587</smtp-port>
       <smtp-ssl>true</smtp-ssl>
       <smtp-user>theusername</smtp-user>
       <transport-protocol>smtps</transport-protocol>
      <init>
        mail.smtp.starttls.enable=true
        mail.smtp.auth=true
     </init>
</mail>
---
With this config, it tells me that
"'com.caucho.server.security.XmlAuthenticator' is not a valid instance
of 'javax.mail.Authenticator'". If I tried using an uri and some
properties, it tells me that "The available schemes for
javax.mail.Authenticator are '[]'"...

Are there any implementations of javax.mail.Authenticator included with
Resin?


Notes
(0003327)
ferg   
08-13-08 11:41   
server/1569