Bookshelf Home | Contents | Index | PDF |
Business Processes and Rules: Siebel Enterprise Application Integration > Data Mapping Using Scripts > Attachments and Content Identifiers in MIME MessagesA MIME message contains one or more parts, each representing a separate piece of the message. One common use of multipart MIME messages is to include attachments with a message. NOTE: All the examples have to be typed single-spaced and without word wrap. Each MIME body part has an optional Content Identifier (CID) used to identify it. The Content Id is part of the MIME part header, for example: Content-ID : <001110.102215@abc.com> Then the CID is 001110.102215@abc.com. The CID is usually referenced from another part of the MIME message. A common scheme is to use an XML document as the main part of the MIME message, and use Content Ids to reference the other attachments in the message. The following is an example of a MIME message with attachment. Content-Type: multipart/related; boundary="unique_boundary_123"; Content-Transfer-Encoding: binary Content-Type: application/xml; charset="UTF-8" Content-Transfer-Encoding: binary <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE Memo SYSTEM "Memo.dtd"> <Subject>Map and Directions</Subject> <Body>Maps to company headquarters are attached.</Body> <URI>cid:001110.102203@oracle.com</URI> <URI>cid:001110.102211@oracle.com</URI> <Filename>detailmap.jpeg</Filename> Content-Transfer-Encoding: binary Content-ID: <001110.102203@oracle.com> Content-Transfer-Encoding: binary |
Business Processes and Rules: Siebel Enterprise Application Integration | Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |