axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saminda Abeyruwan" <samin...@gmail.com>
Subject Re: [AXIS2] Wrong parameter names for mail transport in axis2.xml
Date Thu, 15 Mar 2007 14:48:18 GMT
Hi Vasil,

Thanks for using Axis2 mail transport. There are many properties that could
have come under <transportReciever/> {SimpleMailListener} and
<transportSender/> {MailTransportSender}. One could configure the transport
Sender or listener pragmatically or from the configuration file {axis2.xml}.


As Axis2 uses Java Mail API for transport, Java Mail API uses Properties to
configure itself. Thus, if Axis2.xml is being used to configure this
transport each parameter will map to a property that you have set in the
Java Mail API. This will make life easier.

There could be many ways to configure Mail transport (SSL/NON-SSL), we
didn't put a default configuration in defaut_axis2.xml.

Please refer to mail-configuration.html and mail-transport.html to more
information.

Thank you

Saminda

On 3/15/07, Vasil Benov <benovv@gmail.com> wrote:
>
> Hi axis2 devs,
>
> I have found out that the parameter names in the axis2.xml for configuring
> mail transport bear wrong names.
>
> here the relevant sections from the axis2.xml file:
>
> <transportReceiver name="mail" class="
> org.apache.axis2.transport.mail.SimpleMailListener">
>     <parameter name="mail.store.protocol" ....> i think this parameter is
> needed as well (it is missing in the default axis2.xml)
>     <parameter name=" transport.mail.pop3.host" locked="false">127.0.0.1</parameter>
> => should read name="mail.pop3.host" ...
>     <parameter name="transport.mail.pop3.user "
> locked="false">axis2</parameter>        => shuold read name="
> mail.pop3.user" ...
>     <parameter name="transport.mail.pop3.password"
> locked="false">axis2</parameter>
>     <parameter name="transport.mail.pop3.port"
> locked="false">110</parameter>  => should read name="mail.pop3.port"
> </transportReceiver>
>
>
>
> <transportSender name="mailto" class="
> org.apache.axis2.transport.mail.MailTransportSender">
>     <parameter name="transport.mail.smtp.host" locked="false">127.0.0.1</parameter>
> => should read name=" mail.smtp.host" ...
>     <parameter name="transport.mail.smtp.user"
> locked="false">axis2</parameter> => shuold read name="mail.smtp.user" ...
>     <parameter name=" transport.mail.smtp.password"
> locked="false">axis2</parameter>
>     <parameter name="transport.mail.smtp.port"
> locked="false">25</parameter> should read name=" mail.pop3.port"
> </transportSender>
>
>
> Regards Vasil
>
> --
> Vasil Benov,
> Mobile: +359(0)889/202682
> @-mail: benovv at gmail dot com
> ICQ: 140269988
>
> GPG Fingerprint: 2CDC 5DA0 4C0A 7C06 5259  DE12 ACF3 177C 8906 0908
> Public Key URL:
>     *) http://random.sks.keyserver.penguin.de/




-- 
Saminda Abeyruwan

Software Engineer
WSO2 Inc. - www.wso2.org

Mime
View raw message