I am trying to set up email notifications and am having issues. The error
given in the logs is this

 

ERROR 2006-12-01 11:22:55,339 CommentServlet:sendEmailNotification - Unable
to lookup mail session.  Check configuration.  NamingException: Could not
create resource factory instance

 

My roller.xml file looks like this

 

 

<!-- If you want e-mail features, un-comment the section below -->

 

<Resource name="mail/Session" auth="Container" type="javax.mail.Session"
mail.transport.protocol="smtp"

mail.smtp.host="localhost"  />

 

My web.xml file looks like this

 

<!-- Uncomment this for email notification of comments -->

    <resource-ref>

        <res-ref-name>mail/Session</res-ref-name>

        <res-type>javax.mail.Session</res-type>

        <res-auth>Container</res-auth>

    </resource-ref>

 

 

I have sendmail configured on the local server, i have also tried
configuring to use a mail server externally and get the same errors, so i
think that roller isnt even getting as far as trying to pass authentication
to the server. 

 

Any help greatly appreciated

 

 

Reply via email to