User: simone  
  Date: 01/01/20 15:59:40

  Modified:    src/etc/conf/default jboss.jcml
  Added:       src/etc/conf/default mail.properties
  Log:
  Added support for JavaMail
  
  Revision  Changes    Path
  1.14      +9 -1      jboss/src/etc/conf/default/jboss.jcml
  
  Index: jboss.jcml
  ===================================================================
  RCS file: /products/cvs/ejboss/jboss/src/etc/conf/default/jboss.jcml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- jboss.jcml        2001/01/15 05:06:53     1.13
  +++ jboss.jcml        2001/01/20 23:59:40     1.14
  @@ -189,10 +189,18 @@
       <attribute name="Port">8082</attribute>
     </mbean>
   
  +  <!-- Mail Connection Factory -->
  +  <mbean code="org.jboss.mail.MailService" name=":service=Mail">
  +     <attribute name="JNDIName">Mail</attribute>
  +     <attribute name="ConfigurationFile">mail.properties</attribute>
  +     <attribute name="User">user_id</attribute>
  +     <attribute name="Password">password</attribute>
  +  </mbean>
  +
     <!-- Uncomment to enable JMX monitoring of the bean cache  
     <mbean code="org.jboss.monitor.BeanCacheMonitor" 
name="Monitor:name=BeanCacheMonitor"/>
     -->
  -
  +  
     <!-- Add your custom MBeans here -->
     
   </server>
  
  
  
  1.1                  jboss/src/etc/conf/default/mail.properties
  
  Index: mail.properties
  ===================================================================
  mail.store.protocol           = pop3
  mail.transport.protocol = smtp
  mail.user                             = biorn_steedom
  mail.pop3.host                        = pop.mail.yahoo.com
  mail.smtp.host                        = smtp.mail.yahoo.com
  mail.from                             = [EMAIL PROTECTED]
  mail.debug                            = true
  
  

Reply via email to