Wrong parameter names for mail transport in axis2.xml
-----------------------------------------------------

                 Key: AXIS2-2333
                 URL: https://issues.apache.org/jira/browse/AXIS2-2333
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: transports
            Reporter: Vasil Benov
            Priority: Trivial


Parameter names in the axis2.xml for configuring mail transport bear wrong 
names.

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>

The afore mentioned parametrs are not the same as defined in the 
<org.apache.axis2.transport.mail.Constants>
These are checked in the init() methods of the 
<org.apache.axis2.transport.mail.SimpleMailListener> and 
<org.apache.axis2.transport.mail.MailTransportSender > classes

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to