[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: How to configure mail-service.xml for Exchanger Server w

Kevinpei do-not-reply at jboss.com
Fri Aug 14 14:11:36 EDT 2009


<?xml version="1.0" encoding="UTF-8"?>
  | <!-- $Id: mail-service.xml 62350 2007-04-15 16:50:12Z dimitris at jboss.org $ -->
  | <server>
  | 
  |   <!-- ==================================================================== -->
  |   <!-- Mail Connection Factory                                              -->
  |   <!-- ==================================================================== -->
  | 
  |   <mbean code="org.jboss.mail.MailService"
  |          name="jboss:service=Mail">
  |     <attribute name="JNDIName">java:/Mail</attribute>
  |     <attribute name="User">kpei</attribute>
  |     <attribute name="Password">password</attribute>
  |     <attribute name="Configuration">
  |       <!-- A test configuration -->
  |       <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=""/>
  | 
  |  
  |        <!-- Change to the mail server  -->
  |         <property name="mail.pop3.host" value="abcsvr3.abcwireless.local"/>
  | 
  |         <!-- Change to the SMTP gateway server -->
  |         <property name="mail.smtp.host" value="abcsvr3.abcwireless.local"/>
  |         
  |         <!-- The mail server port -->
  |         <property name="mail.smtp.port" value=""/>
  |         
  |         <!-- Change to the address mail will be from  -->
  |         <property name="mail.from" value="kpei at abcwireless.com"/>
  | 
  |         <!-- Enable debugging output from the javamail classes -->
  |         <property name="mail.debug" value="false"/>
  |       </configuration>
  |     </attribute>
  |     <depends>jboss:service=Naming</depends>
  |   </mbean>
  | 
  | </server>



View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249707#4249707

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249707



More information about the jboss-user mailing list