1 Reply Latest reply on May 16, 2006 6:36 PM by unibrew

    enabling the mail notification on JBoss Portal Forums protle

    kysersosaih

      i'm using JBoss portal 2.2.1GA on JBoss AS 4.0.4, i donwloaded the Forums portlet, also i'm using the Jboss mail server version 1.04 and i have setup an SMTP account. the e-mail notification isn't working. i edited couple of xml files
      -$CorePortal/portal-core.sar/META-INF/jboss-service.xml with the following:

      <mbean
       code="org.jboss.portal.core.impl.mail.MailModuleImpl"
       name="portal:service=Module,type=Mail"
       xmbean-dd="org/jboss/portal/core/impl/mail/MailModuleImpl.xml">
       <depends>jboss:service=Mail</depends>
       <depends>portal:service=Module,type=User</depends>
       <attribute name="QueueCapacity">-1</attribute>
       <attribute name="Gateway">localhost</attribute>
       <attribute name="SmtpUser"></attribute>
       <attribute name="SmtpPassword"></attribute>
       <attribute name="JavaMailDebugEnabled">true</attribute>
       <attribute name="SMTPConnectionTimeout">100000</attribute>
       <attribute name="SMTPTimeout">10000</attribute>
       <attribute name="JNDIName">java:portal/MailModule</attribute>
       </mbean>

      -and edited $Forumsportlet/forums-portal.war/WEB-INF/portlet.xml with the following:
      <init-param>
       <description>Email address used for FROM field of email notification</description>
       <name>fromAddress</name>
       <value>Mohamed.Amer@itrize.com</value>
       </init-param>

      if any one now how to configure the file properly plz help me