Announcement Announcement Module
Collapse
No announcement yet.
Mail OutboundChannelAdapter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 06:42 AM.

  • #2
    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, 07:09 AM.

    Comment

    Working...
    X