Problem processing Email attachment when Body text exists

Using an Email communication channel (POP3) we are successfully processing emails with an attachment of type csv or xml.
These attachments are swapped with the Payload message then sent into an IP for processing.
The IP splits the inbound message into multiple messages (1:n) and feeds them individually into a “For Each Block” where we perform a transformation then a send to a JDBC adapter.
Everything works well until someone enters text into the body of the email. Then we end up with an error.
Error handling for work item 000000102646
Work item 000000102648: Object CL_SWF_XI_MSG_BROKER method SEND_SYNCHRON cannot be executed
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor d
An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor d
When body text is encountered we end up with two payloads:
1.     Main Document (application/xml)
2.     Mail Message (multipart/alternative boundary..)
We are currently at XI 3.0 Service 17 (SAPKB64017)
The mail channel for the XML attachment is configured with the following Modules:
•     localejbs/AF_Modules/PayloadSwapBean LEB
o      swap.keyName    Content-Description
o     swap.keyValue     MailAttachment-1
•     ASMA with Variable Transport Binding has been selected
•     Mail attributes (only keep attachments was selected)
•     Message Protocol XIPAYLOAD
•     Transport Protocol POP3
The mail channel for the CSV attachment is set up the same except it has an additional module specification for localejbs/AF_Modules/MessageTransformBean to generate an XML document from a csv attachment.
Has anybody had the same experience? Or suggestions?

Maybe the error is related to the fact that the payload is not a valid XML.
Try to send some text in body like "<test><data>abcd</data></test>" just to see if the same error occurs.
Regards,
Henrique.

Similar Messages

  • Process Email Attachment in Bpel and then Check-In the Document to WCC

    Hello Techies,
    I am new to Soa Application and  Bpel. I am creating a Soa Composite application(using Jdev 11.1.1.6)  which will poll for incoming Email.
    This polling is done using the UMS adapter which is working fine for me. Then i have to process the Attachment and call a service to Check-In this Attachment(a pdf File) to UCM.I have Configured the WebService activity also and included the CheckIn Wsdl to perform CheckIn operation.
    The problem lies in processing the attachment by creating a BPEL process  and then passing this attachment to Primary File parameter  of CheckIn Service.
    How can I map this Attachment to primaryFile parameter of the CheckIn service ? (I am hard coding other parameters of ChecKin Service)
    Please Help.
    Thanks In Advance

    Hi Sunil,
    Currently I dont think there is a direct way that BPEL can consume and read the contents of a XL File.
    As per current version of Oracle SOA Suite (11.1.1.6.3),
    The Oracle File and FTP Adapters can read and write the following file formats and use the adapter translator component at both design time and run time:
    •XML (both XSD- and DTD-based)
    •Delimited
    •Fixed positional
    •Binary data
    •COBOL Copybook data
    The Oracle File and FTP Adapters can also treat file contents as an opaque object and pass the contents in their original format (without performing translation). The opaque option handles binary data such as JPGs and GIFs, whose structure cannot be captured in an XSD or data you do not want to have translated.
    But you can only do work around as mentioned in the below thread:
    How to read Excel file in BPEL
    Thanks,
    Deepak.

  • When i text with my new 4s the person receiving my text receives it from my email address, when i text with my new 4s the person receiving my text receives it from my email address

    when i text with my new 4s the person i send the message to receives it from my email address. how can i fix it?

    when i text with my new 4s the person i send the message to receives it from my email address. how can i fix it?

  • Problem pdf email attachment

    Hi Friends,
    I need expertise help in pdf email attachment. I have data in internal table which has to be sent as pdf mail attachment. I need help in converting the data to pdf format. After conversion I can use SO_NEW_DOCUMENT_ATT_SEND_API1 to send the mail.
    Expect earliest reply.
    Thanks,
    Nidhya

    Dear Friends,
    Thanks for your reply, but I need help in converting the data in internal table to pdf.
    Pls find my code below: With this code, I get email send with PDF attach, but the data inside the file is not in correct format.
    Pls help me to correct.
    DATA : mailrec    LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
           mailbin    LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailbin1   LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailtxt    LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailhead   LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           i_otf      LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           i_pdf      LIKE solisti1 OCCURS 0 WITH HEADER LINE,
           mailstruc  LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
           maildata   LIKE sodocchgi1 OCCURS 0 WITH HEADER LINE.
    DATA : BEGIN OF i_sotf OCCURS 0.
           INCLUDE STRUCTURE itcoo.
    DATA : END OF i_sotf.
    DATA : i_itcpo LIKE itcpo,
           i_itcpp LIKE itcpp.
    DATA : v_tlines   TYPE i,
           v_len_in   LIKE  sood-objlen,
           v_len_out  LIKE sood-objlen.
    maildata-obj_name = 'Document'.
    maildata-obj_descr = 'Transfer Details'.
    maildata-obj_prio = 1.
    maildata-doc_size = strlen( mailtxt ).
    mailstruc-head_start = 1.
    mailstruc-head_num = 0.
    mailstruc-body_start = 1.
    mailstruc-body_num = 1.
    mailstruc-obj_name = 'transfer'.
    mailstruc-doc_type = 'RAW'.
    APPEND mailstruc.
    mailrec-receiver = '[email protected]'.
    mailrec-rec_type = 'U'.
    APPEND mailrec.
    CLEAR i_itcpo.
    i_itcpo-tdgetotf = 'X'.
    REFRESH mailbin.CLEAR mailbin.
    WRITE 'Report Title:' TO mailbin-line+3.
    WRITE sy-repid         TO mailbin-line+18.
    APPEND mailbin. CLEAR mailbin.
    WRITE  'User : ' TO mailbin-line.
    WRITE  sy-uname TO mailbin-line+11.
    APPEND mailbin. CLEAR mailbin.
    WRITE  'Date of Report : ' TO mailbin-line+3.
    WRITE sy-datum USING EDIT MASK mask MM/DD/YYYY TO mailbin-line+21.
    APPEND mailbin. CLEAR mailbin.
    WRITE  'Time of Report : ' TO mailbin-line+3.
    WRITE  sy-uzeit TO mailbin-line+21.
    APPEND mailbin. CLEAR mailbin.
    APPEND mailbin.
    WRITE  'Transfer ' to mailbin-line+3.
    APPEND mailbin. CLEAR mailbin.
    APPEND mailbin.
    WRITE  sy-uline TO mailbin-line+3.
    APPEND mailbin. CLEAR mailbin.
    LOOP AT i_disp.
    SHIFT i_disp-index LEFT DELETING LEADING '0'.
    WRITE i_disp-index TO mailbin+3.
    WRITE i_disp-pernr TO mailbin+6.
    WRITE i_disp-ename TO mailbin+16.
    WRITE i_disp-persk TO mailbin+57.
    WRITE i_disp-btrtl TO mailbin+60.
    APPEND mailbin. CLEAR mailbin.
    ENDLOOP.
    CALL FUNCTION 'SX_OBJECT_CONVERT_SCR_OTF'
      EXPORTING
        FORMAT_SRC            = 'RAW'
        FORMAT_DST            = 'OTF'
        DEVTYPE               = 'POSTSCPT'
        FUNCPARA              = ''
        LEN_IN                = v_len_in
    IMPORTING
       LEN_OUT               = v_len_out
      TABLES
        CONTENT_IN            = mailbin
        CONTENT_OUT           = mailbin1
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2 .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH mailbin.
    CALL FUNCTION 'SX_OBJECT_CONVERT_OTF_PDF'
      EXPORTING
        FORMAT_SRC            = 'OTF'
        FORMAT_DST            = 'PDF'
        DEVTYPE               = 'POSTSCPT'
      FUNCPARA              =
        LEN_IN                = v_len_in
    IMPORTING
       LEN_OUT               = v_len_out
      TABLES
        CONTENT_IN            = mailbin1
        CONTENT_OUT           = mailbin
    EXCEPTIONS
       ERR_CONV_FAILED       = 1
       OTHERS                = 2 .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    REFRESH mailbin1.
    DESCRIBE TABLE mailbin LINES v_tlines.
    mailstruc-head_start = 1.
    mailstruc-head_num = 0.
    mailstruc-body_start = 1.
    mailstruc-body_num = v_tlines.
    mailstruc-transf_bin = 'X'.
    mailstruc-doc_type = 'PDF'.
    mailstruc-obj_name = 'Mid-month transfer'.
    mailstruc-doc_size = v_tlines * 255.
    APPEND mailstruc.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        DOCUMENT_DATA                    = maildata
       PUT_IN_OUTBOX                    = 'X'
      TABLES
        PACKING_LIST                     = mailstruc
       OBJECT_HEADER                    = mailhead
       CONTENTS_BIN                     = mailbin
        RECEIVERS                        = mailrec
    EXCEPTIONS
       TOO_MANY_RECEIVERS               = 1
       DOCUMENT_NOT_SENT                = 2
       DOCUMENT_TYPE_NOT_EXIST          = 3
       OPERATION_NO_AUTHORIZATION       = 4
       PARAMETER_ERROR                  = 5
       X_ERROR                          = 6
       ENQUEUE_ERROR                    = 7
       OTHERS                           = 8 .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    But i dont get the result in expected format. I am not getting first 2 characers of the line. instead of report, date, time in separate line I get everything in a single line as follows :
    Report Title: ZHRPY0003
    er : VACNIDHYA Date of Report : 02.05.2007 Time of Report
    : 10:31:27 Mid-month Inter-Company Transfer
    --- 1 00002609 Carla Pineda FT
    2010
    - 1 -

  • Send PO External email with attachement and Body text

    Hi,
    I need to send Purchase Orders to Vendors as PDF attachments to emails; I have successfully configured all the necessary to send external email with PDF attachement but I want to add text in the body of the email:
    For Output Type NEU
       Access to conditions (General Data) set to X the Replacement of text symbols is SAPMM06E/TEXT_SYMBOL_REPLACE and I fill the text in the Mail Title and Texts. The email was send with all the information : Attachement, title with PO number but with no text in the body.
    Can somebody help me with this issue.
    best regards
    Andre

    Hi,
       My file is "PO Number APM - 123456.dpf". You have to config the "Define Message Types for Purchase Order" in the section Mail title and texts with NEU output type. But don't forget to put the program name SAPMM06E
    Look at
    [purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE|purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE]
    Best regards
    Andre

  • Scanned pdf email attachment - converted to text pdf - file then renamed to specific contents

    Hi All,
    Im new to the world of programming, So forgive me if this is a stupid request.
    I'm wanting to use a mail rule in outlook to call a vba script, to save all attachments from a certain email address. I have successfully done this part. Using the below code:
    Public Sub saveAttachtoDisk(itm As Outlook.MailItem)
    Dim objAtt As Outlook.Attachment
    Dim saveFolder As String
    saveFolder = "c:\temp\"
    For Each objAtt In itm.Attachments
    objAtt.SaveAsFile saveFolder & "\" & objAtt.DisplayName
    Set objAtt = Nothing
    Next
    End Sub
    Now my problem is the saved attachment is a scanned pdf (non readable). I'm wanting to convert this into a readable text pdf, then extract certain data from the now readable PDF and use this data to rename the pdf.
    Now i've done some reasearch on the subject and I believe adobe SDK has a function to allow this, I was wondering if anyone could give me any pointers or code to achieve what im trying to do here.
    Im using windows xp
    Adobe Acrobat 6.0 ( I know it's old but its the only licence we own)
    Microsoft Outlook 2007
    Any help would be GREATLY appreciated.
    Nick

    Hi Thanks for your reply, please can you confirm which version of adobe acrobat I would need that will work with outlook 2007? Also could you please supply me with pointers and/or the code to make this work with the correct version.
    Many Thanks

  • Problem with Email attachment

    Hi,
    I am using the method add_attachment, to add attachments to my Email.
    The mail is being triggered successfully with the attachments, but with the following problems:
    a. The attachment is being populated with incomplete data.
    CALL METHOD document->add_attachment
    EXPORTING
    i_attachment_type    = file_type
    i_attachment_subject = attach_name1
    i_att_content_text   = it_attach[].
    Although it_attach[] has all the data in it, the data in the attachment is incomplete.
    Is there a limit on the attachment size? How can this be increased.
    b. There is a space after every character in the attachment data. How can this be corrected?
    Thanks,
    Smitha.

    Below is the code:
    FUNCTION Z_XI_SEND_MAIL_ATT_DYN_EMAILID.
    *"*"Local Interface:
    *"  IMPORTING
    *"     VALUE(SUBJECT) TYPE  SO_OBJ_DES OPTIONAL
    *"     VALUE(ATTACH_NAME1) TYPE  SOOD-OBJDES OPTIONAL
    *"     VALUE(FILE_TYPE) TYPE  SOODK-OBJTP OPTIONAL
    *"     VALUE(ATTACH_NAME2) TYPE  SOOD-OBJDES OPTIONAL
    *"  TABLES
    *"      IT_CONTENT TYPE  SOLI_TAB OPTIONAL
    *"      IT_ATTACH TYPE  SOLI_TAB OPTIONAL
    *"      IT_ATTACH1 TYPE  SOLI_TAB OPTIONAL
    *"      IT_EMAILID TYPE  SOLI_TAB OPTIONAL
    DATA: send_request       TYPE REF TO cl_bcs.
      DATA: document           TYPE REF TO cl_document_bcs.
      DATA: sender             TYPE REF TO cl_sapuser_bcs.
      DATA: recipient          TYPE REF TO if_recipient_bcs.
      DATA: exception_info     TYPE REF TO if_os_exception_info,
      bcs_exception      TYPE REF TO cx_document_bcs.
      DATA i_attachment_size TYPE sood-objlen.
      DATA it_recv LIKE zmailmap OCCURS 0 WITH HEADER LINE.
      DATA ext(3).
      DATA: it_attach_hex type standard table of solix .
      DATA: it_attach1_hex type standard table of solix .
    * Create persistent send request
      send_request = cl_bcs=>create_persistent( ).
      TRY.
          document = cl_document_bcs=>create_document(
                                        i_type    = 'txt'
                                        i_text = it_content[]
                                        i_subject = subject ).
          DESCRIBE TABLE it_attach.
          SPLIT attach_name1 AT '.' INTO attach_name1 ext.
    **************** Convert text to binary***********************
    call function 'SO_SOLITAB_TO_SOLIXTAB'
    exporting
    ip_solitab = it_attach[]
    importing
    ep_solixtab = it_attach_hex[].
          CALL METHOD document->add_attachment
            EXPORTING
              i_attachment_type    = file_type
              i_attachment_subject = attach_name1
              i_att_content_hex   = it_attach_hex[].
    ****Additional code for QRN Interface*****
          IF file_type = 'QRN'.
            SPLIT attach_name2 AT '.' INTO attach_name2 ext.
            DESCRIBE TABLE it_attach1.
    *********Convert text to binary***************
    call function 'SO_SOLITAB_TO_SOLIXTAB'
    exporting
    ip_solitab = it_attach1[]
    importing
    ep_solixtab = it_attach1_hex[].
            CALL METHOD document->add_attachment
              EXPORTING
                i_attachment_type    = 'QTX'
                i_attachment_subject = attach_name2
                i_att_content_hex   = it_attach1_hex[].
          ENDIF.
    * Add document to send request
          CALL METHOD send_request->set_document( document ).
    * Get sender object
          sender = cl_sapuser_bcs=>create( sy-uname ).
    * Add sender
          CALL METHOD send_request->set_sender
            EXPORTING
            i_sender = sender.
    ********Determine the receipients (Extra code added for QRN interface - 31st May 2007)************
    ****Add Reciepents
    IF file_type = 'QRN'.
      LOOP AT IT_EMAILID.
      it_recv-MAILID = IT_EMAILID.
      APPEND it_recv.
      CLEAR it_recv.
      ENDLOOP.
    **it_recv-mailid = IT_EMAILID.
    **APPEND it_recv.
    ELSE.
      SELECT * FROM zmailmap INTO TABLE it_recv  WHERE filetype = file_type.
    ENDIF.
          LOOP AT it_recv.
            TRANSLATE it_recv-mailid TO LOWER CASE.
            recipient = cl_cam_address_bcs=>create_internet_address(
           it_recv-mailid ).
            CALL METHOD send_request->add_recipient
              EXPORTING
                i_recipient  = recipient
                i_express    = 'U'
                i_copy       = ' '
                i_blind_copy = ' '
                i_no_forward = ' '.
          ENDLOOP.
    ***********Trigger e-mails immediately*****************************
          send_request->set_send_immediately( 'X' ).
          CALL METHOD send_request->send( ).
          COMMIT WORK.
        CATCH cx_document_bcs INTO bcs_exception.
      ENDTRY.
    ENDFUNCTION.

  • Problems with email addresses when syncing with MS-Exchange

    When I sync with MS-Exchange, everything is great except for the email address. I get IMCEAEX-o=BlahMail_ou=BlahUS_cn=Recipientscn=[email protected] I tried to play with the email address in exchange, but it is always doing some auto-lookup to the person and never taking just the text.
    Thanks for any help.

    It seems the imceaex is Exchanges "IMC Encapsulated Address Exchange". Something for simulating X.500.
    Anyone have any idea?

  • Problem with acrobat 9 when validating text fields

    Hello
    I've been using a script to provide feedback for my English Students. The correct input turns the backgroundcolor to green, an incorrect one turns it to red. This script has been working fine for many years including Acrobat Reader 8, but version 9 gives me a problem. When filling in the field and pressing enter, nothing happens, only when you give focus to the filled in field again does the color change. Leaving the field turns the color again to its original. Here is a link to an example:
    http://schulen.eduhi.at/herderschule/pdf/E3/e3u1sentences.pdf
    Try it with reader 9 and a previous version and you'll see what I mean.
    Can somebody help me fix this problem?
    Here is the code that I'm using to validate the textfields:
    //TestLetter
    /*********** belongs to: Document-Level:TestLetter ***********/
         var f = this.getField("1")
              f.value = "";
         var f = this.getField("2")
              f.value = "";       
    function TestLetter(FieldName,FieldValue)
      var RetValue;
       RetValue = false;
      switch (FieldName)
        case "1":
          if (FieldValue == "in the Australian bush.")
               RetValue = true;
             break;
        case "2":
          if (FieldValue == "for a pack of dingoes.")
               RetValue = true;
                 break;
         default:
         RetValue = false;
         break;
      return  RetValue;
    //trim
    /*********** belongs to: Document-Level:trim ***********/
    function trim(inputString) {
       if (typeof inputString != "string") { return inputString; }
       var retValue = inputString;
       var ch = retValue.substring(0, 1);
       while (ch == " ") {
          retValue = retValue.substring(1, retValue.length);
          ch = retValue.substring(0, 1);
       ch = retValue.substring(retValue.length-1, retValue.length);
       while (ch == " ") {
          retValue = retValue.substring(0, retValue.length-1);
          ch = retValue.substring(retValue.length-1, retValue.length);
       while (retValue.indexOf("  ") != -1) {
          retValue = retValue.substring(0, retValue.indexOf("  "))
        + retValue.substring(retValue.indexOf("  ")+1, retValue.length);
       return retValue;
    //1:Validate
    /*********** belongs to: AcroForm:1:Validate ***********/
    event.value = trim(event.value);
    var f = this.getField("1"); /* field that the event occurs at */
         f.readonly = false;
         f.fillColor = color.ltGray
    if (event.value != "")
      if (TestLetter("1",event.value)==true)
        f.fillColor = color.green;
    else
      f.fillColor = color.red;
    //2:Validate
    /*********** belongs to: AcroForm:2:Validate ***********/
    event.value = trim(event.value);
    var f = this.getField("2"); /* field that the event occurs at */
         f.readonly = false;
         f.fillColor = color.ltGray
    if (event.value != "")
      if (TestLetter("2",event.value)==true)
        f.fillColor = color.green;
    Else
    f.fillColor = color.red;

    You probably have field highlighting turned on. You can use JavaScript in the file to turn off this user preference setting.
    I'd also suggest a code change:
    event.value = trim(event.value);
    var f = event.target; /* field that the event occurs at */
    George

  • Alignment problem in Email Attachment

    Hi,
    I am sending error reports of BDC thru email as attachment in Notepad format.
    The records are not aligning properly coming as a paragraph, I need to display the errors in separate rows.
    Is there any way that i can align all error records to come row by row in HTML format??
    Can any one help on this please...
    Thanks
    Karthik

    I have used excel as output and " cl_abap_char_utilities=>newline" for each record coming in new line..
    regards
    Karthik.

  • Problem opening email attachment Blackberry 8900

    Hi I am a recent user of Blackberry 8900 on Airtel in India, I have 2 email accounts Gmail and another work account on Rediffmailpro with pop3 access, I can open word, xls & pdf attachments in Gmail but not on my Rediffmail Pro account.
    I was earlier using Blackberry connect on Nokia E61 and everything worked fine.
    Also when I open Blackberry Maps the screen just becomes blank, I can use Google maps. Does the Blackberry maps require a separate service from my Cellphone provider. I already have GPRS active on my phone
    Can some one help
    Best regards
    Uday

    Do you have a full BlackBerry Data Plan on your account?
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • ICloud email address when I have existing Apple ID

    I'm sure this has been solved but could not narrow down this scenario in the support community. My current Apple ID is my current email address, but I'm not renewing my domain and need a new email address. An icloud.com account seems an obvious choice, though I'm wondering what that means to my existing ID and associated iTunes purchases.
    https://appleid.apple.com gives me the change to change my Apple ID and I'm assuming once I create my icloud.com email address I change it to that - simple enough.
    Do all my iTunes purchases automatically get associated with this new Apple ID?
    Is is that simple?
    Is there a KB article that documents this?
    Thanks in advance for any help!

    I don't think you read the post, Mende.
    No, I think he's referring to the spam e-mails coming in this morning. I'm assuming that someone set something up to send out billions of emails to everyone with an "@icloud.com" extension. Either that or there was a massive security breach at Apple/iCloud that leaked millions of email addresses. (God forbid.)

  • Problem in parsing no-ascii body text message?

    I have a text/plain mime message(Composed in the outlook express) that contains a long one-line japanese string as follow:
    ���b�Z�[�W���O�v���b�g�t�H�[�����������r�W�l�X�V�X�e�������������������B�C���^�[�l�b�g���������\�����������������A���@�\�����b�Z�[�W���O�\�����[�V���������p���������B���������������A���q�T�[�r�X�������x�������A�r�W�l�X�v���Z�X�����������A�@�������������M�����������������R�X�g�����������������������B�������A�I�����C���u���[�J�[���g�b�v������������2���A���E�I���N���W�b�g�����������s�J�[�h���s������������3���A���������i�����X����5�����A�����r�W�l�X�N���e�B�J�������b�Z�[�W�C���t���X�g���N�`���[������Tumbleweed���\�����[�V�������g�p�����������B���������}�[�P�b�g�������������������������H���q���M��
    If I add one more japanese char to the begining of the string and parse the mail with JavaMail, It will becomes
    �����b�Z�[�W���O�v���b�g�t�H�[�����������r�W�l�X�V�X�e�������������������B�C���^�[�l�b�g���������\�����������������A���@�\�����b�Z�[�W���O�\�����[�V���������p���������B���������������A���q�T�[�r�X�������x�������A�r�W�l�X�v���Z�X�����������A�@�������������M�����������������R�X�g�����������������������B�������A�I�����C���u���[�J�[���g�b�v������������2���A���E�I���N���W�b�g�����������s�J�[�h���s������������3���A���������i�����X����5�����A�����r�W�l�X�N���e�B�J�������b�Z�[�W�C���t���X�g���N�`���[������Tumbleweed���\�����[�V�������g�p�����������B���������}�[�P�b�g�������������������������H���q���M???????
    Here is the message header info:
    Content-Type: text/plain; charset=iso-2022-jp
    Content-Transfer-Encoding: quoted-printable
    Does this mean that that there is a bug in the JavaMail in handling no-ascii chars?
    After I make the following call:
    setContent(this.getContent(), this.getContentType());
    The change becomes permanent and recipient will see the '????' at the end of the message.
    I can provide mime format of the message if necessary.
    Any one see this before?
    Any help is appreciated!

    KennethKwan,
    Thanks for you reply. I tried you code and it does not work. All I got is
    "$B%a%C%;!<%8%s%0%W%i%C%H%U%)!<%`$r4{B8$N%S%8%M%9%7%9%F%`$HE}9g$7$F$$$^$9!#%$%s%?!<%M%C%H@\B3$,2DG=$J$"$i$f$k>l=j$G!"9b5!G=$N%a%C%;!<%8%s%0%=%j%e!<%7%g%s$rMxMQ$G$-$^$9!#$3$l$i$N4k6H$O!"8\5R%5!<%S%9$dK~B-EY$r9b$a!"%S%8%M%9%W%m%;%9$r4JN,2=$7!"5!L)>pJs$rAw<u?.$9$k$?$a$K$+$+$k%3%9%H$H;~4V$r:o8:$7$F$$$^$9!#Nc$($P!"%*%s%i%$%s%V%m!<%+!<$N%H%C%W4k6H$N$&$A$N(B2$B<R!"@$3&E*$J%/%l%8%C%H$"$k$$$ON99T%+!<%IH/9T2q<R$N$&$A$N(B3$B<R!"$*$h$S@h?J9q$NM9@/6I(B5$B$D$,!"8=:_%S%8%M%9%/%j%F%#%+%k$J%a%C%;!<%8%$%s%U%i%9%H%i%/%A%c!<$H$7$F(BTumbleweed$B$N%=%j%e!<%7%g%s$r;HMQ$7$F$$$^$9!#$"$J$?$N%^!<%1%C%H$O$I$l$[$I$N6%AhN($G$9$+!)8\5R$N?.Mj(B"
    instead of the japanese string I posted.
    All I did was
    String text = (String)mimeMessage.getContent();
    It works ok for most of japanese strings except for the one I mention above which is a single long line of japanese string.

  • Email attachment in PDF problem with Images

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    Regards,
    Lakshmikanth.

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    Regards,
    Lakshmikanth.

  • PDF email attachment logo problem

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    The image is working fine in 4.6 system but the problem with ECC6.
    Regards,
    Lakshmikanth.

    Hi All,
    Can any one tell me how to solve the problem with Email attachment in PDF. If i remove the logo of the client in the Smartform i am getting the Email attachment fine but when i put back the image in the smartform the PDF is giving error and not opening the attachment.
    The image is working fine in 4.6 system but the problem with ECC6.
    Regards,
    Lakshmikanth.

Maybe you are looking for

  • Inserting Flash in a DW template

    I'm relatively new to Dreamweaver (version 8) and I'm having a problem inserting a flash (.swf) slideshow of pictures into a template that then updates several webpages. The problem is, when I insert the flash into the template page and the webpages

  • Reduce downtime required for support patch application

    Dear Experts, I would like to know if there are any tips / notes we need to follow during application of support patches to reduce the downtime window ( as during patch application , system is not usable for normal users ) , any temparary parameter c

  • Activate a button inside a symbol

    First let me just say that edge is great tool, and makes our life much easier. well.. i'm trying to get familiar with the program and I run into some obstacles. on the stage i have a symbol, inside that symbol i have a button, which i need it to run

  • Remove applets in Safari iOS7

    I just upgraded my iPad to OS7 and every time I open a new tab in Safari, I get three stupid applets to link me to either Yahoo!, Disney or Apple. I never asked for them, so does anyone know how to get rid of them?

  • Zen micro and getting Zen Media Player to recognize

    I went back to firmware .0.03 and reinstalled the Zen software after getting no where with firmware that works with MS media player. I noticed two things. the device installs differnently in the hardware profile between the two firmware versions 2 If