This content has been marked as final.
Show 1 reply
-
1. Re: How can I send mail to remote mail server?
kabirkhan Jul 18, 2004 7:42 PM (in response to haitt)You need to set up your users in the following MBean in the SAR's jboss-service.xml:
<mbean code="org.jboss.mail.userrepository.StaticUserRepository" name="jboss.mail:type=MailServices,name=UserRepository,uimanageable=true"> <attribute name="Users"> <users> <user> <id>myuser</id> <password>test</password> </user> </attribute> </mbean>
and log in to the SMTP server as one of the users set up. More details here:
http://www.jboss.org/wiki/Wiki.jsp?page=MailServicesInstallingM1