Results 1 to 2 of 2

Thread: Mail OutboundChannelAdapter

  1. #1
    Join Date
    Sep 2008
    Location
    Mannheim,Germany
    Posts
    125

    Question Mail OutboundChannelAdapter

    Hi, How do I configure <mail:outbound-channel-adapter > Currently I have the following in my xml :I know u should have MailHeaders but dont know how to congifure them in <mail:outbound-channel-adapter >.Is mail-sender missing from the configuration???Would Apprecaite help

    Code:
    <mail:outbound-channel-adapter 
                                  host="localhost" password="root" username="root" id="outboundMail"/>
    Last edited by ashleyvijay; Nov 7th, 2008 at 06:42 AM.

  2. #2
    Join Date
    Sep 2008
    Location
    Mannheim,Germany
    Posts
    125

    Thumbs up

    Ok I figured it out! For those of u who might be sometimes lost like me, here it is:

    Code:
    <mail:header-enricher  input-channel="responseChannel"  subject="HelloMailTest" output-channel="MailOut"
                         to="black@localhost"
                        from="white@localhost" cc="blue@localhost"
                       overwrite="false"/>
    <mail:outbound-channel-adapter id="MailOut" host="localhost"  username="root" password="root"/>
    Last edited by ashleyvijay; Nov 7th, 2008 at 07:09 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •