after a quick Google, I found this
http://www.mail-archive.com/[email protected]/msg93428.html
which suggests that you can use this section to say that your smtp host
is running on localhost, which might pick up a running sendmail service.
<Resource name="mail/Session" auth="Container"
type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
sorry I can't help further - good luck :)
b
Stephen Milner wrote:
Thanks for the quick and informaitive reply. I have another question. Is
it posible to use sendmail instead of smtp (as in running the binary
instead of running the server) with roller?
Ben Avery wrote:
You need to point Roller at a mail server it can use to send the
emails out.
Are you using Tomcat? Have a look in your server.xml configuration
file, should be in [roller base]/apache-tomcat-xx-xx/conf
The example Roller comes with has a section at the end commented out,
where you have to point it to your receiving mail server. Remove the
<!--
-->
lines that comment this out, put the name of your mail server in, and
restart, e.g.
<Resource name="mail/Session" auth="Container" type="javax.mail.Session"
mail.smtp.host="smtp.roller.org" />
HTH
Stephen Milner wrote:
I'm running into a problem with email notifications and comments. I
have the activation and the mail jar's in the correct common lib dir
but I get the following error:
ERROR 2006-02-06 08:53:06,351 CommentServlet:sendEmailNotification -
Unable to lookup mail session. Check configuration.
NamingException: Name mail is not bound in this Context
I did a search in my roller.properties file and didn't see anything
dealing with the comment emails at all. The only thing I found was
the checkboxes in the admin interface. I'm a bit confused about
where to look next to get this working.
--
Ben Avery
Software Developer
Youthnet UK
email: [EMAIL PROTECTED]
phone: 020 7288 7333
snail: 2-3 Upper Street
London N1 0PQ