I understand the axis2 configuration. I guess my problem is defining the
endpoint for synapse.

How do I configure an endpoint to use the "mailto" transport configured
in axis. I would like to change the delivered synapse.xml to receive the
request as configured in the quick start, then both return the result to
the client, and email a copy through the configured mailto transport
sender.

-----Original Message-----
From: Asankha C. Perera [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 18, 2007 3:55 AM
To: [email protected]
Subject: Re: How do I send a SMTP payload?

Hi Geiglein

You need to enable the mail transport in your axis2.xml by uncommenting 
the following and configuring the elements according to your 
environment. Also check the following links for more information. From 
within Synapse, you just use a mail EPR to send it via the mail
transport.

Let me know if you run into any issues
asankha

http://ws.apache.org/axis2/1_3/mail-configuration.html
http://wso2.org/library/2537

    <!-- Mail Transport Listener  -->
    <!-- This is a sample configuration. It assumes a mail server 
running in localhost.
         Listener pops  messages that comes to the email address 
[EMAIL PROTECTED] Users
         password is red. Listener connect to the server every 3000 
milliseconds.
         Parameters with "transport." prefix is Axis2 specific. Others 
are all from Java Mail API.
         http://people.apache.org/~pzf/SMTPBase64Binding-0.2.html
     -->
   <!--<transportReceiver name="mailto" 
class="org.apache.axis2.transport.mail.SimpleMailListener">
        <parameter name="mail.pop3.host">localhost</parameter>
        <parameter name="mail.pop3.user">red</parameter>
        <parameter name="mail.store.protocol">pop3</parameter>
        <parameter name="transport.mail.pop3.password">red</parameter>
        <parameter 
name="transport.mail.replyToAddress">[EMAIL PROTECTED]</parameter>
        <parameter name="transport.listener.interval">3000</parameter>
    </transportReceiver>-->

......
    <!-- Mail Transport Sender  -->
    <!--Only need to uncomment the sender. Configuration is achieved 
with every client.
        At any instant mail host should be given. Sample configuration 
has been given.
        http://people.apache.org/~pzf/SMTPBase64Binding-0.2.html-->
    <!-- ================================================= -->
    <!--<transportSender name="mailto" 
class="org.apache.axis2.transport.mail.MailTransportSender">
        <parameter name="mail.smtp.host">localhost</parameter>
    </transportSender>-->



Geiglein, Gary wrote:
> The introduction says that you support SMTP but I don't see anything
in
> the documentation, examples, or tests to give a clue how to set this
up.
>
>
>   

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


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

Reply via email to