Skip to Content
avatar image
Former Member

Receiver Mail adapter with txt attachment

I'm having a requirement to transfer Text fiels as-is to email as an attachment.

With the study as of now I came to know that if I use mail adapter I can get my payload as XML attachment.

Can we get text file as attachment instead of XML file in E-Mail?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • avatar image
    Former Member
    Jul 03, 2008 at 06:11 AM

    Hello Shekhar,

    Check this document.

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816

    here instead of jpg use txt

    Thanks,

    Mahi

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 03, 2008 at 06:13 AM

    i think you can get text file as an email attachment

    regards

    kummari

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 03, 2008 at 06:14 AM

    hi das

    check the below blogs

    eMail Report as Attachment (Excel/Word)

    eMail Report as Attachment (Excel/Word)

    XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping

    XI Mail Adapter: An approach for sending emails with attachment with help of Java mapping

    regards

    kummari

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 03, 2008 at 07:00 AM

    Hi Das,

    Check The Keep as attachments,

    And use MessageTransformBean & PayloadswapBean in the modules,

    "Award points if helpful"

    Regards,

    Jayasimha Jangam

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 04, 2008 at 09:39 AM

    Hello,

    I would like to send also an txt-file via email. My question is, is it possible to convert this txt-file to fix lenght inside the mail-adapter? I am familiar with the file-adapter and there i can do some more conversion about the format of the file.

    Regards,

    Christoph

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    May 08, 2009 at 10:58 AM

    ok

    Add comment
    10|10000 characters needed characters exceeded