Hi!

I have problem with mailing from geronimo.
Mail service is configured in geronimo-application.xml:
<application
      xmlns="http://geronimo.apache.org/xml/ns/j2ee/application";
      configId="org/queryphone/Queryphone">

   <dependency>
       <uri>geronimo/geronimo-mail/1.0</uri>
   </dependency>

<gbean name="jmp.smtp" class="org.apache.geronimo.mail.SMTPTransportGBean">
       <attribute name="host">192.168.1.10</attribute>
       <attribute name="port">25</attribute>
<attribute name="from">[EMAIL PROTECTED]</attribute> </gbean>

<gbean name="mail/MailSession" class="org.apache.geronimo.mail.MailGBean">
       <attribute name="transportProtocol">smtp</attribute>
       <attribute name="useDefault">true</attribute>
<attribute name="properties">mail.debug=true</attribute> <reference name="Protocols">
           <name>jmp.smtp</name>
       </reference>
   </gbean>

</application>

Session bean that uses mail/MailSession is implemented.
When i'm trying to send e-mail everything is working without any errors but mail messages are not going to smtp server from geronimo.
Where i'm wrong?

Best regards,
Alex Andrushchak

Reply via email to