1 Reply Latest reply on Feb 6, 2008 4:54 PM by foo baz

    Configuration of External Mail Server

    foo baz Newbie

      I am trying to setup javamail and mail-service.xml to access my external mail server and alert me whenever a specific action is performed. I believe I have everything setup correctly:

      <mbean code="org.jboss.mail.MailService"
      <attribute name="JNDIName">Mail</attribute>
      <attribute name="Configuration">
      <property name="mail.transport.protocol" value="smtp"/>
      <property name="mail.smtp.host" value="mail.foo.baz"/>
      <property name="mail.from" value="ftp2112@foo.baz"/>
      <property name="mail.debug" value="false"/>

      When I deploy my app, everything is getting deployed without error so I know its not crashing before it starts. Are there any mail logs or any other suggestions someone could give to help me out! I feel I am SO close.

        • 1. Re: Configuration of External Mail Server
          foo baz Newbie

          < mbean code="org.jboss.mail.MailService"
          < attribute name="JNDIName">Mail
          < attribute name="Configuration">
          < configuration>
          < property name="mail.transport.protocol" value="smtp"/>
          < property name="mail.smtp.host" value="mail.foo.baz"/>
          < property name="mail.from" value="ftp2112@foo.baz"/>
          < property name="mail.debug" value="false"/>
          </ configuration>
          </ attribute>
          </ mbean>
          </ server>