E-Mail body content appears in single line as a string.

Could someone advise the way to format(space, new line, bold etc) E-Mail body content in BPEL.
I wanted an email body content be sent as following:
Hi,
This is my test email through BPEL.
Well Done!
Cheers
R
But when it actually sent, it just appeared as continuous string as follows:
Hi, This is my test email through BPEL. Well Done! Cheers R
Thanks
T

I tried a workaround and used html tags in the email body in BPEL, as follows:
<%string('<html>
<body>
Hi, <used line break wherever required ie. br>
This is my test email through BPEL.<br>
Well Done!<br><br>
Cheers<br>
R
</body>
</html>')%>
It worked fine as expected. Still, with plain text, it appears as single straight line. I welcome comments on this!
cheers
thobula

Similar Messages

  • ERMS Mail Body Content

    Hello.
    During  ERMS processing I need to accept mail body content for future processing.
    How in method IF_CRM_ERMS_SERVICE~EXECUTE of class CL_CRM_ERMS_AH_CREATE_IR could see mail body as string?
    Thank you.
    Igor Spector

    Hi Igor,
    I believe you have the answer in variable lr_sc_mail_data of that method. After instatiated (around line 167), you just have to read table lr_sc_mail_data->body and get the entry that as content_ascii filled.
    Can you check if that is working in your scenario?
    Kind regards,
    Garcia

  • Mail Body Content

    Hi,
    When we try to send mail, the body content is included as an attachment as 'Notification1.html' (which is a default one) Instead we need to have the mail content in the main body.
    What changes do we need to achieve this?
    Regards,
    Saranath

    hi,
    If anybody face the same problem like mail body as attachment then go for the bellow solution.
    Check your settings in TCODE SCOT
    Double click on SMTP note . For "Internet" click on set, under "Output format for SAP documents" RAW Text musts be set as "TXT"
    Regards
    padmaja.

  • Receive mail body content

    I have problem with receive mail.
    IOException "no content".
    My code:
    Folder folder = store.getFolder("INBOX");
    folder.open(javax.mail.Folder.READ_ONLY);
    Message[] message = folder.getMessages();
    for (int i =0; i< message.length; i++) {
    Part messagePart=message;
    Object content=messagePart.getContent();
    if (content instanceof Multipart)
    messagePart=((Multipart)content).getBodyPart(0);
    System.out.println("[ Multipart Message ]");
    String contentType=messagePart.getContentType();
    System.out.println("CONTENT:"+contentType);
    if (contentType.startsWith("text/plain")
    || contentType.startsWith("text/html"))
    InputStream is = messagePart.getInputStream();
    BufferedReader reader
    =new BufferedReader(new InputStreamReader(is));
    String thisLine=reader.readLine();
    while (thisLine!=null) // <<---- IOEXCEPTION "NO CONTENT"
    System.out.println(thisLine);
    thisLine=reader.readLine();
    any ideas?
    thanks.

    Try this first .... Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Or quit the mail app and restart. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button.
    Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
    Can't speak about contents and attachments with mail in the cloud as I have no use for it and therefore do not use that iCloud feature.

  • Content of a single line in a text field

    I am loading a hundred string values from a text field (each
    with a <br> after them) into a multiple line Dynamic text
    field set to display html. When a user clicks on any one of the
    lines, I want the content of that line only to be set into a
    variable for further processing.
    any ideas on how to do this simply assuming that the loaded
    in data will be changing quite often?
    thanks

    Use the asfunction protocol to call a function and set the
    value into a
    variable.
    mytxt.htmlText = "<a
    href='asfunction:setValue,test'>Hi!</a>";
    var valuelink:String = null;
    function setValue(value:String):Void
    valuelink = value;
    trace(valuelink );
    Regards,
    Erick Souza | ericksouza.com

  • Why is the body/content of all my emails invisible except for a few lines in the small preview pane?

    The body/content of my emails is invisible in the large/main part of the screen when using the mail app on my iPad.  I can see some of the text from each email in the small preview pane on the left side of the screen (when holding iPad in landscape orientation).  The only way I can read the content of an email is to forward or reply and then the body/content appears.  How do I fix this problem??

    Try turning the account off and on : Settings > Mail, Contacts, Calendars , then tap the account on the right, slide Mail to 'off', exit settings and go back into the Mail app, and then go back to Settings and slide Mail back to 'on'
    If that doesn't work then try closing the Mail app completely : from the home screen (i.e.not with the Mail app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    Also do a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Writing to a file in Single Line doesn't work

    DECLARE
    FileHandler UTL_FILE.FILE_TYPE;
    cursor c1 is
    SELECT DISTINCT address_attribute9 address_attribute9
    FROM ar.ra_customers_interface_all;
    BEGIN
    fileHandler := UTL_FILE.FOPEN('/u03/sqlcom/outbound', 'Error_Records.txt', 'w');
    for rec in c1 loop
    UTL_FILE.PUTF(fileHandler,''''||rec.address_attribute9||''''||',');
    end loop;
    UTL_FILE.FCLOSE(fileHandler);
    EXCEPTION
    WHEN utl_file.invalid_path THEN
    raise_application_error(-20000, 'Invalid path file or path not in INIT.ORA.');
    END;
    Following error message is appearing
    Exception Occurred:ORA-29285: file write error
    PL/SQL procedure successfully completed.
    I tried with UTL_FILE.PUT(fileHandler,''''||rec.address_attribute9||''''||',');
    Requirement is to write the whole content into a single line,If I try to write into a seperate line it works.

    Modified the code as following and it worked:
    set serveroutput on
    DECLARE
    errorblob BLOB;
    errorlength NUMBER;
    filehandle utl_file.file_type;
    counter NUMBER := 1;
    remainder NUMBER;
    buflen NUMBER := 32000;
    cursor c1 is
    SELECT DISTINCT address_attribute9 address_attribute9
    FROM ar.ra_customers_interface_all;
    BEGIN
    DBMS_LOB.CREATETEMPORARY(errorblob, true,dbms_lob.session);
    FOR rec in c1 LOOP
    dbms_lob.append(errorblob, utl_raw.cast_to_raw(''''||rec.address_attribute9||''''||','));
    END LOOP;
    errorlength := dbms_lob.getlength(errorblob);
    filehandle := utl_file.fopen('/u03/sqlcom/outbound', 'Error_Records.txt', 'wb');
    LOOP
    IF counter < (errorlength - buflen) THEN
         remainder := buflen;
    ELSE
    remainder := errorlength - counter;
    END IF;
    utl_file.put_raw(filehandle, dbms_lob.substr(errorblob, remainder, counter));
    counter := counter + remainder;
    utl_file.fflush(filehandle);
    if counter = errorlength then
    exit;
    end if;
    end loop;
    utl_file.fclose(filehandle);
    end;
    /

  • Download created XML File in batch mode // Parse XML file into single lines

    Hello!
    I upload a CSV file and based on that CSV file I create an XML "object". First I uploaded and downloaded it via gui frontendclass, but as it has to be run in a batch in the night I need to upload and download the data via OPEN DATASET.
    The import and transformation of the CSV file works fine, also the transfer into an itab with the same structure as a CSV line is ok. I also create the XML file, which could be downloaded easily with gui-download but it is not permittet.
    Import of data: I scan the folder and get the filenames into a itab, I loop over that itab and read the single files like this:
         OPEN DATASET ls_convert_batch FOR INPUT IN TEXT MODE ENCODING DEFAULT.
          CLEAR tab.
          IF sy-subrc = 0.
            DO.
              READ DATASET ls_convert_batch INTO line.
              IF sy-subrc <> 0.
                EXIT.
              ELSE.
                CLEAR tmptab.
                SPLIT line AT ';' INTO  tmptab-product
                                        tmptab-contract
                                        tmptab-extagent.
                APPEND tmptab TO tab.
              ENDIF.
            ENDDO.
          ENDIF.
    The XML file has a strucutre like
    <file>
    - <file formant_no="1.1" format_date="02.10.2003">
      <status>V</status>
      <number>001001025</numbner>
      <name>Schmeisser,Christof</name>
    - <details>
    -    <detail>
             <contract>00000003494</contract>
             <name>Schmeisser, Christof</name>
             <invoice_no>000000003840</invoice_no>
             <due_date>20100601</due_date>
             <amount>140,00</amount>
         </detail>
    -    <detail>
             <contract>00000003495</contract>
             <name>Schmeisser, Christof</name>
             <invoice_no>000000003841</invoice_no>
             <due_date>20100601</due_date>
             <amount>130,00</amount>
         </detail>
    - </details>
    <elements>2</elements>
    <amount_overall>270</amount_overall>
    </file>
    At the moment I download it like this:
    CALL METHOD cl_gui_frontend_services=>gui_download
            EXPORTING
              bin_filesize = l_xml_size
              filename     = filename
              filetype     = 'BIN'
    *        CONFIRM_OVERWRITE = '0'
            CHANGING
              data_tab     = l_xml_table
            EXCEPTIONS
              OTHERS       = 24.
          IF sy-subrc <> 0.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                       WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ELSEIF sy-subrc = 0.
            lv_create_counter = lv_create_counter + 1.
          ENDIF.
    But I need to download it via OPEN TRANSFER CLOSE Dataset as it has to run in batch mode.
    Anyone has an idea? I am really desperate here. One idea would be to parse the single lines into a string and then create the XML file line by line as text and save it with ending XML, should work. But I don't know how!
    Thank you very much in advance,
    kind regards from Tallinn, Estonia,
    Christof!
    Edited by: Christof Schmeisser on Nov 25, 2010 7:51 PM
    I edited the heading, would be too general and missleading!

    Tipos Pools
    TYPE-POOLS: ixml.
    CLASS cl_ixml DEFINITION LOAD.
    TYPES: BEGIN OF xml_node_type,
             node   TYPE char50,
             vlnode TYPE string,
           END OF xml_node_type,
           BEGIN OF xml_line_type,
             data(256) TYPE x,
           END OF xml_line_type.
    Tabelas Internas
    DATA: ti_xml_node        TYPE TABLE OF xml_node_type.
    Variáveis TYPE REF
    *Type REF para utilizar no XML
    DATA: ixml_type             TYPE REF TO if_ixml,
          streamfactory_type    TYPE REF TO if_ixml_stream_factory,
          ostream_type          TYPE REF TO if_ixml_ostream,
          istream_type          TYPE REF TO if_ixml_istream,
          parser_type           TYPE REF TO if_ixml_parser,
          renderer_type         TYPE REF TO if_ixml_renderer,
          document_type         TYPE REF TO if_ixml_document,
          encoding_type         TYPE REF TO if_ixml_encoding,
          node_type             TYPE REF TO if_ixml_node,
          element_dtrans_type   TYPE REF TO if_ixml_element,
          element_xml_in_type   TYPE REF TO if_ixml_element,
          element_roteiros_type TYPE REF TO if_ixml_element,
          element_roteiro_type  TYPE REF TO if_ixml_element,
          element_vias_type     TYPE REF TO if_ixml_element,
          element_via_type      TYPE REF TO if_ixml_element,
          element_dummy_type    TYPE REF TO if_ixml_element,
          gw_xml_node           TYPE TABLE OF xml_node_type,
          gw_xml_node_ret       TYPE TABLE OF xml_node_type,
          gw_xml_node_err       TYPE TABLE OF xml_node_type,
          gw_xml_node_xml       TYPE TABLE OF xml_node_type,
          gw_xml_table          TYPE TABLE OF xml_line_type,
          gw_xml_table2         TYPE TABLE OF xml_line_type,
          gs_xml_node           TYPE xml_node_type,  "WA para leitura do xml
          gs_xml_node_ret       TYPE xml_node_type,  "WA para leitura do xml retorno
          gs_xml_node_err       TYPE xml_node_type,  "WA para leitura do xml erro
          gs_xml_node_xml       TYPE xml_node_type,  "WA para leitura do xml info sucesso
          gs_xml_table2         TYPE xml_line_type.  "WA para importar xml
    Variáveis do Programa
    DATA: l_value              TYPE string,
          l_rc                 TYPE i,
          l_xml_size           TYPE i,
          cod_cartaorepom      TYPE char20 VALUE '123456789',
          v_caminho_exp        TYPE string VALUE 'C:TEMP',
          v_salvaarquivo       TYPE string,
          v_nomearquivo        TYPE string,
          w_nodetext           TYPE string,
          v_roteiros           TYPE string,
          v_roteiro            TYPE string,
          v_roteiro_codigo     TYPE string,
          v_percurso_codigo    TYPE string,
          v_percurso_descricao TYPE string,
          v_cidade_origem      TYPE string,
          v_estado_origem      TYPE string,
          v_cidade_destino     TYPE string,
          v_estado_destino     TYPE string,
          v_transporte_tipo    TYPE string,
          v_cartao_taxa        TYPE string,
          v_cobra_taxa         TYPE string.
    Constants
    CONSTANTS: cc_39         TYPE string VALUE '39', " Numero 39.
               cc_dt_trans   TYPE string VALUE 'data_transfer'," document_type(name)
               cc_metodo_cod TYPE string VALUE 'metodo_codigo'," document_type(name)
               cc_xml_in     TYPE string VALUE 'xml_in'," document_type(name)
               cc_ct_tx_ativ TYPE string VALUE 'cartao_taxa_ativacao'," document_type(name)
               cc_cartao     TYPE string VALUE 'cartao', " Parâmetro Perform.
               cc_xml        TYPE string VALUE '.XML'," extenção
               cc_bin        TYPE char10 VALUE 'BIN'." filetype
    START-OF-SELECTION.
      PERFORM yf_inicia_criacao_xml USING cc_39.
      element_roteiro_type  = document_type->create_simple_element(
                     name   = cc_ct_tx_ativ
                     parent = element_xml_in_type  ).
      PERFORM yf_dummy_roteiro USING cod_cartaorepom cc_cartao.
      PERFORM yf_finaliza_xml.
      PERFORM yf_exporta_xml USING v_caminho_exp.
      PERFORM yf_convert_xml_to_itab TABLES gw_xml_node_ret
                                      USING v_salvaarquivo.
    END-OF-SELECTION.
    *&      Form  yf_inicia_criacao_xml
          text
         -->VALUE(P_0783)  text
    FORM yf_inicia_criacao_xml USING value(p_0783).
      DATA: s_encoding_type TYPE string VALUE 'ISO-8859-1'.
    Cria o ixml factory
      ixml_type = cl_ixml=>create( ).
    *Cria o objeto com modelo
      document_type = ixml_type->create_document( ).
    *Cria o cabeçalho encoding="iso-8859-1"
      encoding_type = ixml_type->create_encoding( byte_order = 0
                        character_set = s_encoding_type ).
    *Cria o root "DATA_TRANSFER"
      element_dtrans_type = document_type->create_simple_element(
                    name  = cc_dt_trans
                  parent  = document_type ).
    *Cria o node "METODO_CODIGO" e preenche com um valor passado no L_VALUE
      l_value = p_0783.
      CONDENSE l_value.
      element_dummy_type = document_type->create_simple_element(
                    name = cc_metodo_cod
                   value = l_value
                  parent = element_dtrans_type ).
    *Cria o node "XML_IN"
      element_xml_in_type   = document_type->create_simple_element(
                  name   = cc_xml_in
                  parent = element_dtrans_type  ).
    ENDFORM.                    " yf_inicia_criacao_xml
    *&      Form  yf_dummy_roteiro
          text
         -->VALUE(P_0996)  text
         -->VALUE(P_0997)  text
    FORM yf_dummy_roteiro USING value(p_0996)
                                value(p_0997).
      l_value  = p_0996.
      CONDENSE l_value.
      element_dummy_type = document_type->create_simple_element(
                    name = p_0997
                   value = l_value
                  parent = element_roteiro_type ).
    ENDFORM.                    " yf_dummy_roteiro
    *&      Form  yf_finaliza_xml
          text
    FORM yf_finaliza_xml.
    *Cria o stream factory
      streamfactory_type = ixml_type->create_stream_factory( ).
    *Conecta a internal table de XML com o stream factory
      ostream_type = streamfactory_type->create_ostream_itable( table = gw_xml_table  ).
      CALL METHOD ostream_type->set_encoding
        EXPORTING
          encoding = encoding_type.
    *Rendering the document
      renderer_type = ixml_type->create_renderer( ostream  = ostream_type
                                            document = document_type ).
      l_rc = renderer_type->render( ).
    *Salva o documento XML
      l_xml_size = ostream_type->get_num_written_raw( ).
    ENDFORM.                    " yf_finaliza_xml
    *&      Form  yf_exporta_xml
          text
         -->VALUE(P_0783)  text
    FORM yf_exporta_xml USING value(p_0783).
      CONCATENATE cod_cartaorepom
                  sy-datum
                  sy-uzeit
                  cc_xml
             INTO v_nomearquivo.
      CONCATENATE p_0783
                  v_nomearquivo
             INTO v_salvaarquivo.
      TRANSLATE v_nomearquivo TO UPPER CASE.
    *Exporta o XML
      CALL METHOD cl_gui_frontend_services=>gui_download
        EXPORTING
          bin_filesize = l_xml_size
          filename     = v_salvaarquivo
          filetype     = cc_bin
        CHANGING
          data_tab     = gw_xml_table
        EXCEPTIONS
          OTHERS       = 24.
      IF sy-subrc = 0.
       PERFORM yf_sapgui_progress_indicator USING cc_msg_xml_ok.
      ELSE.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                   WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " yf_exporta_xml
    *&      Form  yf_convert_xml_to_itab
          text
         -->P_GW_XML_NODE_RET  text
         -->P_FILENAME         text
    FORM yf_convert_xml_to_itab  TABLES p_gw_xml_node_ret LIKE gw_xml_node
                                USING  p_filename.
      DATA l_count.
      ixml_type = cl_ixml=>create( ).
    Now Create Stream Factory
      streamfactory_type = ixml_type->create_stream_factory( ).
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename   = p_filename
          filetype   = cc_bin
        IMPORTING
          filelength = l_xml_size
        CHANGING
          data_tab   = gw_xml_table2
        EXCEPTIONS
          OTHERS     = 19.
      IF sy-subrc = 0.
        istream_type = streamfactory_type->create_istream_itable( table = gw_xml_table2
                                                            size  = l_xml_size ).
        document_type = ixml_type->create_document( ).
        parser_type = ixml_type->create_parser( stream_factory = streamfactory_type
                                         istream         = istream_type
                                         document        = document_type ).
        IF parser_type->parse( ) NE 0.
          IF parser_type->num_errors( ) NE 0.
            l_count = parser_type->num_errors( ).
          ENDIF.
        ENDIF.
        CALL METHOD istream_type->close( ).
        CLEAR istream_type.
        node_type = document_type.
        PERFORM yf_get_data USING node_type.
        p_gw_xml_node_ret[] = gw_xml_node[].
        CLEAR gw_xml_node[].
      ENDIF.
    ENDFORM.                    " yf_convert_xml_to_itab
    *&      Form  yf_get_data
          text
         -->VALUE(X_NODE)  text
    FORM yf_get_data    USING value(x_node) TYPE REF TO if_ixml_node.
      DATA: indent      TYPE i.
      DATA: ptext       TYPE REF TO if_ixml_text.
      DATA: string      TYPE string.
      DATA: temp_string(100).
      CASE x_node->get_type( ).
        WHEN if_ixml_node=>co_node_element.
          string = x_node->get_name( ).
          w_nodetext = string.
          CLEAR string.
          string = x_node->get_value( ).
          IF NOT w_nodetext IS INITIAL OR
             NOT string IS INITIAL.
            gs_xml_node-node   = w_nodetext.
            gs_xml_node-vlnode = string.
            IF NOT gs_xml_node-vlnode IS INITIAL.
              APPEND gs_xml_node TO gw_xml_node.
              CLEAR  gs_xml_node.
            ENDIF.
          ENDIF.
      ENDCASE.
    Get the next child
      x_node = x_node->get_first_child( ).
    Recurse
      WHILE NOT x_node IS INITIAL.
        PERFORM yf_get_data USING x_node.
        x_node = x_node->get_next( ).
      ENDWHILE.
    ENDFORM.                    "yf_get_data

  • E-Mail Signature Grey and Single Line after PR1.2 ...

    Hi
    After having updated my N900 to PR1.2, I now find that when I reply to, or create a new message in the standard e-mail client , my automatic signature is inserted in grey instead of black, and all linefeeds are left out so the whole thing appears in one line instead of four which is how I have it.
    Sure, I can edit it and re-insert the linefeeds and make it all black, but this is clearly not the point. It worked fine prior to 1.2 and should continue to work fine after the upgrade.
    One quirk of this 'bug' is that, once I've opened a new message (with the incorrect signature), if I change the originating e-mail address (I have more than one e-mail account) by tapping on my e-mail address at the top and selecing a different one, the signature 'repairs' itself and the linefeeds re-appear so the signature then looks fine except that it's still in grey.
    Does anyone else have this problem? Does anyone have a fix?
    Thanks.
    Solved!
    Go to Solution.

    garbuckle wrote:
    Hi
    After having updated my N900 to PR1.2, I now find that when I reply to, or create a new message in the standard e-mail client , my automatic signature is inserted in grey instead of black, and all linefeeds are left out so the whole thing appears in one line instead of four which is how I have it.
    Sure, I can edit it and re-insert the linefeeds and make it all black, but this is clearly not the point. It worked fine prior to 1.2 and should continue to work fine after the upgrade.
    One quirk of this 'bug' is that, once I've opened a new message (with the incorrect signature), if I change the originating e-mail address (I have more than one e-mail account) by tapping on my e-mail address at the top and selecing a different one, the signature 'repairs' itself and the linefeeds re-appear so the signature then looks fine except that it's still in grey.
    Does anyone else have this problem? Does anyone have a fix?
    Thanks.
    for some reason on the new pr 1.2 version, the signiture is requiring html to have the breaks.
    if your signiture used to look like:
    Joe Blow
    ABC Corp.
    [email protected]
    888-555-1212
    Sent from my Nokia n900
    then is now looks like this:
    Joe BlowABC [email protected] Sent from my Nokia n900
    to fix this, write it this way:
    Joe Blow<br>
    ABC Corp.<br>
    [email protected]<br>
    888-821-0937<br>
    <br>
    Sent from my Nokia n900.
    it will still show up as a light grey/brown, but it will now be formated correctly.

  • How to get the content of message in the mail body

    Hi,
    Can anyone suggest me to get the message content as the mail body using messagetTransformation bean????

    Hi
    In the Receiver Mail Adapter use these settings
    Message Protocol:XIPAYLOAD
    and tick on Use mail package.
    Gt back if you have more doubts
    Thanks

  • Mail with HTML BODY content?

    Hi,
    We seem to have a little problem with sending mails wtih HTML content, we have a "Link" in the mail body to be sent , so we are using html tags <a href=""link"></a> so that the mail receipient see the URL as a link ....
    The actual code used is given below:-
    l_body_html := ' <html>
    <body>
    <p>Hi,<br><br>You have been provided access to <a href="http://URL.com:20000/pls/htmldb/f?p=102"></a>'||
    '</p> </body> </html>'
    HTMLDB_MAIL.SEND(
    P_TO => '[email protected]',
    P_FROM => '[email protected]',
    P_BODY => l_body_html,
    P_BODY_HTML => l_body_html,
    P_SUBJ => 'Access Details.');
    What is wrong here , except the link of URL the rest of the text is coming in the mail body...
    regards
    Naveen

    Naveen,
    This is an HTML problem. You have provided no text for the anchor.
    You probably want something like:
    &lt;a href=http://URL.com:20000/pls/htmldb/f?p=102>Click Here&lt;/a>
    And to be proper HTML, you should enclose the href value in double quotes, as in:
    &lt;a href="http://URL.com:20000/pls/htmldb/f?p=102">Click Here&lt;/a>
    Joel

  • Unable to get source file content as mail body in file to mail scenario

    Hi Friends,
    I am facing one problem with one of my file to mail scenario in PI(SP9).  I have done bypass scenario(without IR only with ID objects). Scenario is working fine, i am getting mail also.  But my requirement is i want complete source file content as a mail body (not xml format, text format).  I have checked all options, but configured scenario bydefault taking source content as a attachment and mail body is empty.  I have tested below options
    1. If i choose message protocol as FCC mechanism at source side content at target side i am getting xml format as a attachment( In mail adapter i have selected message protocol as xi payload, and without packate option on mail adapter). If i choose message protocol as xi all, i am getting 2 files as a attachment (one file as a payload content and second file as a source file content in xml format).
    2. If i choose message protocol as file at souce side that time i am getting source complete content as a attachment at target side in xml format, but mail attached file content is flat file(.xml extension) format. When i tried to open attachment file that time i am getting error in explorer, but i can see only one row in explorer  remaining rows unable to see.
    Please share your ideas on this.

    Hi,
    Follow below steps
    1. First basis level need to configure setup(SMTP) for mail.  After that only mail will go from SAP.
    2. Source side depending on requirement take communication channel(idoc, file etc)
    3. Receiver side communication channel take mail adapter and configure below setup
       3.1 select message protocol XI ALL/ XI PAYLOAD(WITH PACKAGE or WITHOUT PACKAGE)
       3.2 if message protocol is XI ALL, the complete content will be sent as a attachment along with payload file
       3.3 if message protocol is XI PAYLOAD, the source message, the source message will be sent as attachment.  Playload file filter automatically.
       3.4 If you use PACKAGE option on mail adaper, this time source strucute need to import from SAP (some standard structure only will be support, without strucutre we can't work).  If you choose package option no need to give mail id on communication channel, we need to pass mail id's from source structure.
    I hope now clear.

  • Multiple lines appended in mail body while using SO_NEW_DOCUMENT_SEND_API1.

    Hi,
    I built the text(Body) of the mail with 19 lines. But while triggering through workflow the last 3 lines of the body displayed in the same line instead of different line. I used SO_NEW_DOCUMENT_SEND_API1 function module for mail sending activity,
    Can anybody experienced this kind of problems earlier? If so please kindly help me to sort out this asap. Useful responses will be rewarded.
    Thanks in advance.

    Hi
    I have used this function module to send mail.
    SO_NEW_DOCUMENT_SEND_API1
    I have not problem and not found any duplicate entries.
    Please send your piece of code where you are adding text line.
    It may happened because of not clearing the memory values.
    Rgds,
    Sriram

  • Mail deletes body content of mail

    I forwarded several messages to my MAC address from another computer. All content is visible in the MAC INBOX. After moving to a newly created mailbox, the email and the size of the email is displayed however the body content of the emails are no longer visible.
    Any solutions?
    Regards, Jackson

    if you double click on the email in question, does it display normally with the body of the text?
    might it be that your other mailboxes have the preview pane collapsed and not showing? if so in one of these mailboxes at the very bottom you should have a small line with a dot in the middle which you can drag up to say the middle of the window. once that is done you should be able to see the body of the email below that line, and the email itself with name/size... above that line.
    hope this helps

  • Mail not showing body content

    Since upgrading to yosemite the Apple mail client is not showing the body content of some of my emails.
    If I look at the message source nothing is displayed.
    If I use Outlook there is no issue and the mail is properly displayed so the issue is not with the email of my mail server.
    Are there any new security controls within the mail client  and it has picked up the mail as suspicious?
    Any ideas?
    Regards,
    Ed

    Upgraded to Yosemite on both my computers. Have same problem on my iMac, but not on my MacAir.

Maybe you are looking for