Skip to Content
author's profile photo Former Member
Former Member

File-Mail Scenario problem( V.V.Urgent)

Hi,

Good Morning.

I am Doing File-Mail Scenario,

My File is in FTP and I have to attach the file and send it to the mail.

I used File and Mail Adaper for this scenario, I Didnot design the IR,Directly i used ID.

I configured File(FTP) Adapter.

I configured Mail (XI PAYLOAD) Adapter, I also defined beans in MAil Adapter, I used MessageTransformBean &PayloadSwapBean for the adapter modules.

File(xyz.txt) file is picking and attaching as an untitled.xml as an attachment.

My Problem is I need the attachment as xyz.txt file..

What will be the problem.

Can any one help and do the needful.

points will be awarded.

Regards,

Jayasimha Jangam

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on May 28, 2008 at 04:08 AM

    Hi,

    use the bellow parameter.

    Transform.ContentDisposition attachment;filename=u201Dabc.txtu201D.

    *Reward Points If Useful*

    Regards,

    Prakasu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.