geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Andrushchak <us...@dekasoft.com.ua>
Subject javamail
Date Tue, 17 Jan 2006 17:03:21 GMT
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">geronimo@dekasoft.com.ua</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


Mime
View raw message