Changeset 566

Show
Ignore:
Timestamp:
03/25/07 14:08:29 (2 years ago)
Author:
sacha
Message:

added Content-Id to first mime part in a multipart mime message.
Trac Ticket #88

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/hefeweizen_library_ebMS_message2.rb

    r561 r566  
    602602            ebXML_message << "Content-Type: text/xml; charset=UTF-8#{crlf}" 
    603603            ebXML_message << "Content-Transfer-Encoding: binary#{crlf}" 
    604             # FIRST MIME PART CAN HAVE CONTENT ID 
    605             # ebXML_message << "Content-Id: <1234567890>#{crlf}" 
     604            ebXML_message << "Content-Id: <1234567890>#{crlf}" 
    606605            ebXML_message << "#{crlf}" 
    607606          end 
  • trunk/src/taskers/hefeweizen_tasker_application_send_ebXML_message.rb

    r561 r566  
    191191 
    192192          if @ebXML_message_parameters['ebXML_message']['ebXML_message_is_multiparty'] == true then 
    193             # FIRST MIME TYPE CAN HAVE CONTENT ID 
    194 #            extra_header = 'Content-Type: multipart/related; type="text/xml"; boundary="HefeWeizenBoundary"; start="<1234567890>"' 
    195             extra_header = 'Content-Type: multipart/related; type="text/xml"; boundary="HefeWeizenBoundary"' 
     193            extra_header = 'Content-Type: multipart/related; type="text/xml"; boundary="HefeWeizenBoundary"; start="<1234567890>"' 
    196194          else 
    197195            extra_header = 'Content-Type: text/xml'