Hi Robert,
You can set the mail session config as follows:
<Resource name="mail/Session" type="javax.mail.Session" auth="Container"
mail.smtp.host="localhost"
mail.smtp.auth="true"
mail.user="USERNAME"
mail.password="PASSWORD"
mail.port="25"
mail.transport.protocol="smtp"
mail.debug="true"/>
Thanks,
Deng
On Mon, Mar 22, 2010 at 8:57 PM, Robert Wierschke
<wierob83@googlemail.com>wrote:
> Hi,
>
> can you point me to some more documentation on how to configure mail
> settings?
>
> After following the instructions here [1], I get exceptions when trying to
> register users due to wrong email settings. How can I configure the smpt
> server being used (especially authentication)?
>
> Thanks in advance.
>
> regards,
> robert
>
> [1] http://archiva.apache.org/docs/1.3/adminguide/webapp.html
>
|