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

Naming a file in the adapter module

Hi All,

I have written an adapter module that is used in a receiver mail adapter. In my module I am renaming the attachment name to "abc.cpi". The problem is I am getting the output from the adapter as abc.cpi.xml. I tried changing the content type in the adapter module to text/plain that gave me an output as abc.cpi.txt. How can I get only abc.cpi as the name of the attachment using this module?

Thanks

Abinash

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 13, 2006 at 04:45 PM

    Hi,

    Check out this blog see if you have something you need

    /people/community.user/blog/2006/09/08/email-report-as-attachment-excelword

    also check out the link for content types that you can try

    http://www.utoronto.ca/ian/books/html4ed/appb/mimetype.html.

    Check out ths blog by Michal as well

    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter

    Regards,

    Prakash

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 13, 2006 at 05:23 PM
    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.