Skip to Content
avatar image
Former Member

Incorrect Mail Attachment

I have a requirement where I want to send a mail with a PDF attachment to a dynamic email address via XI. So far I've set up a scenario where I'm using the XI receiver mail adapter with the 'Use Mail Package' and 'Keep Attachment' checkboxes ticked. I'm also using a UDF in the IR to populate the mail package.

This setup works fine if I send the mail within our company network (via outlook). However my issues arises when I send it out of the network.

For example

From Outlook to outlook - Message is sent successfuly with 1 attachment ('file1.pdf').

From Outlook to hotmail - Message is sent successfully but with incorrect attachments. The mail is received with 2 attachments, 'file1.pdf' (which throws an error message when I try to open it) and an 'untitled.xml' which works if I change the extension to pdf.

I'm confused as to why it works within the company network and not outside. Is there any other cofig I need to complete?

Any help would be greatly appreciated.

Cheers.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Sep 08, 2009 at 06:33 AM

    Hi Nilusha,

    Can you please confirm if the Message protocol you are using is "XIALL"? In case you have to just pass the attachment from the incoming mail, try using "XIPAYLOAD" as the message protocol. Do let me know if it works.

    Thanks,

    Sidhartha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Stefan Grube

      I'm using mail package because i need to use a dynamic mail address and filename. Therefore is it possible to do this without a mail package?

      Also since I don't know the filename until runtime, I can't use the MessageTransformBean to set the contenttype and filename. Therefore is it possible to build a module to set the content type at runtime?

  • avatar image
    Former Member
    Sep 08, 2009 at 04:50 AM

    Hi,

    You need to check with your Network Administrator, if there are any security constraints for outside mail communication.

    Thanks

    Swarup

    Edited by: Swarup Sawant on Sep 8, 2009 6:50 AM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Your MMIE contents looks fine...This is really weird as you are getting the attachment within Network.

      I think the MMIE content types & XMl format type are not acceptable while sending the mail to external mail server.

      Can you check the format of this mail package XML document -- 748024 & 856599

      Thanks

      Swarup