Thanks very much! Dim I had found the archives I wanted.
But the problem about mail service is still not solved. I had put username&password into mail-service.xml, but it didn't take effect. With username&password I can't send mail to host other than the smtp host I used. whereas without username&password I can send mail to other mail address in the smtp host. So, I think that's not the right place to put username&password as in mail-service.xml: <---------------mail-service.xml----------------------> <mbean code="org.jboss.mail.MailService" name="jboss:service=Mail"> <attribute name="JNDIName">java:/Mail</attribute> <attribute name="User">gene</attribute> <attribute name="Password">genepassword</attribute> <attribute name="Configuration"> <!-- Test --> <configuration> <!-- Change to your mail server prototocol --> <property name="mail.store.protocol" value="pop3"/> <property name="mail.transport.protocol" value="smtp"/> <!-- Change to the user who will receive mail --> <property name="mail.user" value="nobody"/> <!-- Change to the mail server --> <property name="mail.pop3.host" value="pop.163.com"/> <!-- Change to the SMTP gateway server --> <property name="mail.smtp.host" value="smtp.163.com"/> <!-- Change to the address mail will be from --> <property name="mail.from" value="[EMAIL PROTECTED]"/> <!-- Enable debugging output from the javamail classes --> <property name="mail.debug" value="true"/> </configuration> </attribute> </mbean> </server> <---------------------------------------------------------------> Maybe I should put my u&p in <configuration> tag as a property, but I don't how to any can help? thanks and thanks _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user