Formating body in email activity to HTML

   Hi,
I am trying to create a table with dynamic values using email acitivity in BPEL. Iam using 11.1.1.6.0 with PS5.
Could anyone share the step by step sample process to achive HTML formatting in email, which can be used for the above use case?
Thanks,
Naveen Kumartalari

ARe you using the Email service or using the Process Management email?
If you are using the Email service, in the Receive operation, there is a property called Body (HTML) that allows you to save the HTML code as a string value.
http://help.stage.adobe.com/en_US/enterpriseplatform/10.0/WorkbenchHelp/WS92d06802c76abadb -7744acc912826be985b-8000.html

Similar Messages

  • Possible to receive %BODY% in email endpoint with html?

    We have an email end point and need to preserve html formatting when receiving it into a variable. Using a string seems to preserve only plain text. Is there a way to preserve the formatting?
    Thanks -

    ARe you using the Email service or using the Process Management email?
    If you are using the Email service, in the Receive operation, there is a property called Body (HTML) that allows you to save the HTML code as a string value.
    http://help.stage.adobe.com/en_US/enterpriseplatform/10.0/WorkbenchHelp/WS92d06802c76abadb -7744acc912826be985b-8000.html

  • Blank message body when sending or receiving HTML formated emails Exchange 2010

    I Have just installed Exchange Server 2010 over the weekend on a customers system.  All clients using either Outlook 2003 or 2007 are unable to see any text in the body of emails that are formatted in HTML.  If they receive an email formatted as HTML there is no body text, if they send an Plain Text formatted email the recipient sees the text in the body.  This problem presents across all Exchange users and affects all HTML formatted emails sent or received since transitioning from Exchange 2007 to 2010.  Plain Text and Rich Text email present with no issues. If we import old email via a pst they afre able to see all email text both HTML and plain text. when we access the clients email account via OWA all emails work but then if we go into outlook 2003/2007 and click the email it removes the body text from the email in both the client and OWA have tried Outlook connection issues with Exchange 2010 mailboxes due to RPC encryption requirement
     http://support.microsoft.com/default.aspx/kb/2006508 and it made no difference at all.
    Thanks
    Update: Have just tested further and all pc seem to work ok with either 2003 or outlook 2007 on.  The problem only seems to be happening on the remothe desktop services server which has outlook 2007 ( have also tried outlook 2003 with same results)

    We have just migrated to Exchange 2010 and have had some blank emails come in to our system.  We think we have a reason and fix for
    it. Hopefully this helps someone else…
    Staffs have their own private mailbox (as you would expect) but also share common mailboxes like "Support" and "Info". When an email came
    into the inbox on a shared mailbox, it might be blank. Plain text emails seemed to be okay. 
    We found that when an email came in, it was readable for about two or three seconds (you need to be setup to send a test and check the inbox quickly - we used Outlook 2007 with the reading pane turned on) and then it blanked out!. We checked the incoming
    email by using the arrow keys to select it and then select the email below the new email, if you go back and forth between them you can see the good new email suddenly goes blank.
    So send another test, but this time make sure the email is set to “Plain Text”. Our email turned up fine, two seconds latter
    it had a NOD32 signature appended to the end of it saying that it had been scanned by NOD32 (you may have seen this kind of note appended to the end of emails before).
    What appeared to be happening is that one or more users sitting at their desks in Outlook had different settings configured in NOD32 (they
    were supposed to be using the server based profile that we control). We thought we had the server doing the AV work, but several of our client PCs had NOD32 enabled to integrate with Outlook. New items received in the shared Inbox’s were being scanned
    by the client PCs and having a signature appended which was mucking up the HTML format of the email and Exchange 2010 blanked them out.
    Make sure your AV products aren’t corrupting the email formats causing them to be displayed blank. Try tests using OWA only and don't
    access the mailbox using Outlook.
    Thanks.

  • Text in the email body is going as attachment through email activity

    hi ,
    In my bpel email activity the body part is going as an attachment. Even a text like 'hi' also going as an attachment where i need to download the file and need to read the content.
    Can any one help is in solving this issue.
    Thank you
    Gayaz

    hi Jyotirmoy,
    this is the format i am using
    <scope name="Email_1">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns3:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns3:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns3:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence_2">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="concat(concat(concat('RLMS ',bpws:getVariableData('inputVariable','payload','/client:AarlmsDailyWeeklySubscriptionProcessRequest/client:input')),' Subscription Alert: Uploaded and modified files for folder'), bpws:getVariableData('folderPath'))"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:Subject"/>
    </copy>
    <copy>
    <from expression="bpws:getVariableData('emailIds')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:To"/>
    </copy>
    <copy>
    <from>
    <Content xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">multipart/mixed</MimeType>
    <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MultiPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <BodyPart xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService">
    <MimeType xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <ContentBody xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    <BodyPartName xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"/>
    </BodyPart>
    </MultiPart>
    </ContentBody>
    </Content>
    </from>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:Content"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:Content/ns3:ContentBody/ns3:MultiPart/ns3:BodyPart[1]/ns3:MimeType"/>
    </copy>
    <copy>
    <from expression="string('NotificationAttachment1.html')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:Content/ns3:ContentBody/ns3:MultiPart/ns3:BodyPart[1]/ns3:BodyPartName"/>
    </copy>
    <copy>
    <from expression="string('hi')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns3:Content/ns3:ContentBody/ns3:MultiPart/ns3:BodyPart[1]/ns3:ContentBody"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService" partnerLink="NotificationService"
    portType="ns3:NotificationService"
    operation="sendEmailNotification"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"/>
    </sequence>
    </scope>
    Thank you
    Gayaz

  • Oracle soa 11.1.1.4 html email using email activity

    Experts,
    In one of my process i am generating tabular form content in email using html tags in transform xsl file and passing this xsl using ora:processXSLT funtion to contentbody variable of email activity. This works fine in *11.1.1.1* i am able to see email with tabular form content but *11.1.1.4* i am getting an email without content.
    In 11.1.1.4 if i pass some simple string to the content body then its working fine i am able to see am email with that string and if i pass the transformation which is having html tags int it, its not working . I have no idea
    why the html tags are not getting recognizing in 11.1.1.4 email activity.
    Can someone please help me to solve this issue.
    Note: its working very goodl in 11.1.1.1.
    here how i am calling fine in bpel
    *<copy>*
    *<from expression="ora:processXSLT('xsl/GenerateHTML.xsl',bpws:getVariableData('ResponseOutput','/ns4:Response'))"/>*
    *<to variable="varNotificationReq" part="EmailPayload"*
    query="/EmailPayload/ns6:Content/ns6:ContentBody"/>
    *</copy*
    and here is my transformation GenerateHTML.xsl
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsl:stylesheet version="1.0" xmlns:ns0="http://www.oracle.com/mgSOA"
    xmlns:xpath20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:mhdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.mediator.service.common.functions.MediatorExtnFunction"
    xmlns:oraext="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:dvm="http://www.oracle.com/XSL/Transform/java/oracle.tip.dvm.LookupValue"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:med="http://schemas.oracle.com/mediator/xpath"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:xdk="http://schemas.oracle.com/bpel/extension/xpath/function/xdk"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:socket="http://www.oracle.com/XSL/Transform/java/oracle.tip.adapter.socket.ProtocolTranslator"
    xmlns:sample="http://www.oracle.com/XSL/Transform/java/oracle.sample.SampleExtensionFunctions"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    exclude-result-prefixes="xsi xsl ns0 xsd xpath20 bpws mhdr oraext dvm hwf med ids xdk xref ora socket sample ldap">
    <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="/">
    <xsl:text disable-output-escaping="yes">&lt;b&gt;s list &lt;/b&gt;</xsl:text>
    <xsl:text disable-output-escaping="yes">&lt;br&gt;</xsl:text>
    <xsl:text disable-output-escaping="yes">&lt;br&gt;</xsl:text>
    <table border="1">
    <tr bgcolor="#9acd32">
    <th width="80">EntityType</th>
    <th width="400">Organization name</th>
    <th width="100">Country</th>
    <th width="200">Code</th>
    <th width="200">Date</th>
    </tr>
    <ns0:Response>
    <xsl:for-each select="/ns0:Response/ns0:ResponseData">
    <tr>
    <ns0:ResponseData>
    <td width="80">
    <ns0:R_entitytype>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="ns0:R_entitytype/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="ns0:R_entitytype"/>
    </ns0:R_entitytype>
    </td>
    <td width="400">
    <ns0:R_orgname>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="ns0:R_orgname/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="ns0:R_orgname"/>
    </ns0:R_orgname>
    </td>
    <td width="100">
    <ns0:R_country>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="ns0:R_country/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="ns0:R_country"/>
    </ns0:R_country>
    </td>
    <td width="200">
    <ns0:R_Code>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="ns0:R_Code/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="ns0:R_Code"/>
    </ns0:R_Code>
    </td>
    <td width="200">
    <ns0:R_Date>
    <xsl:attribute name="xsi:nil">
    <xsl:value-of select="ns0:R_Date/@xsi:nil"/>
    </xsl:attribute>
    <xsl:value-of select="ns0:R_Date"/>
    </ns0:R_Date>
    </td>
    </ns0:ResponseData>
    </tr>
    </xsl:for-each>
    </ns0:Response>
    </table>
    <xsl:text disable-output-escaping="yes">&lt;br&gt;</xsl:text>
    <xsl:text disable-output-escaping="yes">&lt;br&gt;</xsl:text>
    </xsl:template>
    </xsl:stylesheet>

    Try using ora:toCDATA function, I had the same issue and this seemed to work.
    <copy>
    <from expression="ora:toCDATA(xdk:processXSLT('xsl/GenerateHTML.xsl',bpws:getVariableData('ResponseOutput','/ns4:Response')))"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns6:Content/ns6:ContentBody"/>
    </copy>

  • How to format Body of SAP email.

    Hi All,
    I am sending standard text as body of email .Formating options are not applying .
    Can you tell me how to format email BODY.
    Regards,
    Esh

    make use of HTML formatting tags. ex.
    APPEND: '<table border=1 width=80%'     TO lt_contents_txt,
           'cellpadding=1 cellspacing=0>'           TO lt_contents_txt,
           '<tr>'                                   TO lt_contents_txt,
           '<td class=header>PR Number</td>'        TO lt_contents_txt,
           '<td class=header>PR Line Item</td>'     TO lt_contents_txt,
           '<td class=header>Description</td>'      TO lt_contents_txt,
           '<td class=header>PR Release Date</td>'  TO lt_contents_txt,
           '<td class=header>PR Qty</td>'           TO lt_contents_txt,
           '<td class=header>Remaining PR Qty</td>' TO lt_contents_txt,
           '<td class=header>Unit of Measure</td>'  TO lt_contents_txt,
           '<td class=header>Requisitioner</td>'    TO lt_contents_txt,
                '<td class=header>Doc Type</td>'    TO lt_contents_txt,
                '<td class=header>Doc Type Description</td>'    TO lt_contents_txt,
           '</tr>'                                  TO lt_contents_txt.
    lt_contents_txt  is the content of your email
    Edited by: abapGenin on Sep 30, 2010 1:58 PM

  • Bid emails needed in HTML format

    Hello Experts,
    For SRM project at our client we need to send Bid Invitation, Bid Accept and Bid Reject emails to Vendors. We are using the standard SAP functionality for this process.
    Emails get sent to the bidders properly but these emails are in normal text format. The emails do not display any logos and also the urls are not hot links.
    We could not find any BADI to change the settings to send emails as HTML format and not text and help getting the logos and links displayed properly.
    It is very important to the client to have the company logo displayed in the emails and have url's clickable !
    Any help on this will be greatly appreciated.
    Regards,
    Neeraja

    Hello dickretired,
    You may the article "Lion Mail: Display or hide remote images" goes over how to enable this.
    Note: Though the article title stated that it is for Lion, the process should be aplicable in OS X 10.6
    Some messages may use HTML to include remote images that, when retrieved from the sender’s servers, reveal information about your computer’s address. You can protect your privacy by not loading remote images contained in messages you receive. In addition, when you don’t load remote images, messages display more quickly.
    Choose Mail > Preferences, and then click Viewing.
    Select or deselect the “Display remote images in HTML messages” checkbox to show or hide the images.
    If you have chosen to hide remote images, a banner is displayed across the top of messages that contain remote images, asking whether you want to load them for viewing.
    If Mail detects that a message is junk mail, HTML images aren’t displayed.
    Hope that helps,
    Griff W.

  • AppleScript: Add a HTML file in the body of Email by the clipboard

    I would like to insert a HTML file into the body of Email by the clipboard action.
    This is my cord below:
    set the clipboard to (read (choose file) as «class RTF »)
    set theBody to "Hello"
    tell application "Mail"
    activate
      set theMessage to make new outgoing message with properties {content:theBody, visible:true, subject:"mysubject"}
    end tell
    tell application "System Events"
      tell process "Mail"
      set focused of UI element 1 of scroll area 1 of window 1 to true
      keystroke "v" using command down
      end tell
    end tell
    This code enables only rtf file rather than HTML.
    Also I don't want to use the html content by the function of Mail.
    Because if using it, you won't insert both  a html file and body at the same time.
    So what I would like to is to insert a HTML file by the clipboard action into a body.
    Thank you!

    Hi,
    One solution is to use Safari to copy the document:
    set x to choose file -- a HTML file
    tell application "Safari"
        open x
        delay 2
        repeat while source of document 1 does not contain "</html>"
            delay 1.5
        end repeat
        activate
    end tell
    tell application "System Events"
        tell process "Safari"
            set frontmost to true
            keystroke "a" using command down -- select all
            delay 0.3
            keystroke "c" using command down -- copy to clipboard
        end tell
    end tell
    set theBody to "Hello"
    tell application "Mail"
        activate
        set theMessage to make new outgoing message with properties {content:theBody, visible:true, subject:"mysubject"}
    end tell
    tell application "System Events"
        tell process "Mail"
            set focused of UI element 1 of scroll area 1 of window 1 to true
            keystroke "v" using command down
        end tell
    end tell
    Also try this:
    set the clipboard to (read (choose file) as «class HTML») -- a HTML file

  • Error while using Email Activity

    Env:
    Win XP SP2
    SOA Dev Preview 10.1.3.1
    Jdev
    Prob: Am trying to send an email notification to my email id. I create a new BPEL Synchronous process and drag and drop the email activity into the process. I set the details into "to", "subject" and "body" parameters.
    And then I try to deploy the process.
    It throws an error "URI is not hierarchical"
    Can some one let me know the reasons for it.
    Thanx
    AJ

    Thanx Clemens,
    The xml that you had mentioned is same as the one I am working with. When I double click on the error in the error panel displayed in JDev, the cursor moves to the first line in the bpel file which says "<?xml version = "1.0" encoding = "UTF-8" ?>".
    I am still unclear as to what is the issue with the code that I am using. Following is my bpel file. Also, please let me know if there are any libraries or jar files to be included for using email activity in the bpel process.
    <?xml version = "1.0" encoding = "UTF-8" ?>
    <!--
    Oracle JDeveloper BPEL Designer
    Created: Fri Aug 25 15:11:47 IST 2006
    Author: ashutoj
    Purpose: Synchronous BPEL Process
    -->
    <process name="SendEmailNotification"
    targetNamespace="http://xmlns.oracle.com/SendEmailNotification"
    xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ns1="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    xmlns:ldap="http://schemas.oracle.com/xpath/extension/ldap"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:client="http://xmlns.oracle.com/SendEmailNotification"
    xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc">
    <!--
    PARTNERLINKS
    List of services participating in this BPEL process
    -->
    <partnerLinks>
    <!--
    The 'client' role represents the requester of this service. It is
    used for callback. The location and correlation information associated
    with the client role are automatically set using WS-Addressing.
    -->
    <partnerLink name="client" partnerLinkType="client:SendEmailNotification"
    myRole="SendEmailNotificationProvider"/>
    <partnerLink name="NotificationService"
    partnerRole="NotificationServiceProvider"
    partnerLinkType="ns1:NotificationServiceLink"/>
    </partnerLinks>
    <!--
    VARIABLES
    List of messages and XML documents used within this BPEL process
    -->
    <variables>
    <!-- Reference to the message passed as input during initiation -->
    <variable name="inputVariable"
    messageType="client:SendEmailNotificationRequestMessage"/>
    <!-- Reference to the message that will be returned to the requester-->
    <variable name="outputVariable"
    messageType="client:SendEmailNotificationResponseMessage"/>
    </variables>
    <!--
    ORCHESTRATION LOGIC
    Set of activities coordinating the flow of messages across the
    services integrated within this business process
    -->
    <sequence name="main">
    <!-- Receive input from requestor. (Note: This maps to operation defined in SendEmailNotification.wsdl) -->
    <receive name="receiveInput" partnerLink="client"
    portType="client:SendEmailNotification" operation="process"
    variable="inputVariable" createInstance="yes"/>
    <!-- Generate reply to synchronous request -->
    <scope name="Email_1">
    <bpelx:annotation>
    <bpelx:pattern patternName="bpelx:email"></bpelx:pattern>
    </bpelx:annotation>
    <variables>
    <variable name="varNotificationReq"
    messageType="ns1:EmailNotificationRequest"/>
    <variable name="varNotificationResponse"
    messageType="ns1:ArrayOfResponse"/>
    <variable name="NotificationServiceFaultVariable"
    messageType="ns1:NotificationServiceErrorMessage"/>
    </variables>
    <sequence name="Sequence_1">
    <assign name="EmailParamsAssign">
    <copy>
    <from expression="string('Default')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:FromAccountName"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Bcc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Cc"/>
    </copy>
    <copy>
    <from expression="string('')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:ReplyToAddress"/>
    </copy>
    <copy>
    <from expression="string('hi')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Subject"/>
    </copy>
    <copy>
    <from expression="string('[email protected]')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:To"/>
    </copy>
    <copy>
    <from expression="string('checking mail from bpel pm')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:ContentBody"/>
    </copy>
    <copy>
    <from expression="string('text/html; charset=UTF-8')"/>
    <to variable="varNotificationReq" part="EmailPayload"
    query="/EmailPayload/ns1:Content/ns1:MimeType"/>
    </copy>
    </assign>
    <invoke name="InvokeNotificationService"
    partnerLink="NotificationService"
    portType="ns1:NotificationService"
    operation="sendEmailNotification"
    inputVariable="varNotificationReq"
    outputVariable="varNotificationResponse"/>
    </sequence>
    </scope>
    <assign name="Assign_1">
    <copy>
    <from expression="'Mail Sent'"/>
    <to variable="outputVariable" part="payload"
    query="/client:SendEmailNotificationProcessResponse/client:result"/>
    </copy>
    </assign>
    <reply name="replyOutput" partnerLink="client"
    portType="client:SendEmailNotification" operation="process"
    variable="outputVariable"/>
    </sequence>
    </process>

  • How to format body text using CL_DOCUMENT_CLS ?

    I am using classes CL_DOCUMENT_BCS and CL_BCS to send email with a PDF attachment.  The email has several lines of text in the body.  It functions properly.  The messages are appearing in MS Outlook.  The emails are type "PLAIN TEXT".
    The following code is used-
    document = cl_document_bcs=>create_document(
                    i_type    = 'RAW'
                    i_text    = lt_text
                    i_subject = lv_subject ).
    LT_TEXT is define as TYPE BCSY_TEXT.  This is a table of lines that are 255 characters each.
    Each line in LT_TEXT is a new line in the email.  I want to format the body of the email, eliminating the forced "newlines", and allow it to wrap based on the recipient's window size.  Some lines should start a new paragraph. 
    How can I control this?
    I tried using
    i_type = 'EXT'
    This sent an email of type "HTML".  This is better, but it sent the body text as another attachment.  The email had no text in the body.
    Ideas?
    Do I need to use the I_HEX parameter?

    Hi
    Take a table as mentioned below.
    GT_OBJTXT LIKE SOLISTI1
           OCCURS 0 WITH HEADER LINE,      " Mail Text options
    and populate the data that you want to print as body in this table line by line.
    Formating/allignment only can be done while populating the table.  U have to check the mail and keep adjusting the allignment.
    And after populating send the table to one table parameter in funciton module that is...
                CONTENTS_TXT               = LT_OBJTXT.
    This will populate the mail body.
    <REMOVED BY MODERATOR>
    Venkat.
    Edited by: Alvaro Tejada Galindo on Jun 12, 2008 2:17 PM

  • Sending web pages as body of email.

    Hi everyone,
    So, I know how to open webpage and go to FILE> Mail contents of this page. But for some reason when I do this and email someone and they try to forward this on to another person everything becomes all jumbled up in the body of the message. I have tested this by sending myself and email both on my MAC and PC and it does this with my MAIL app too. Does anyone know why this is so difficult to do?
    I heard that the new MAIL in leopard was going to be able to do this better. I just want to send out email brochures to my client mailing list but I want them to be able to forward them on as well.
    Thanks,

    Instead of trying to send the contents of the webpage, simply send a nice note to your contacts in this email and insert the web address.
    Like:"Come visit my new webpage and forward this note to your friends...".
    THEN, paste the URL of your page into the email (http://www.MyNewExamplePage.com)
    or whatever your website address is.
    Formatting an email as true HTML can be a little hard, since (as you've found) since different email programs, ie: your recipients, display HTML email differently.
    Plus, as THEY forward your mail, it's THEIR email program which changes the formatting...you have lost control of the formatting as soon as you click send.
    Send out the URL. And poke around here for more tips for success.
    http://www.google.com/search?hl=en&q=sendingHTML+email&btnG=GoogleSearch

  • Enabling 'submit' button in email activity

    All,
    version:11.1.1.4
    I'm trying to configure an email activity in an async bpel as below
    <body><form action="http://localhost:7001/soa-infra/services/default/AdvanceShipNotice/AdvanceShipNoticeResend?WSDL"> First name:<br> <input type="text" name="firstname" value="Mickey"> <br> Last name:<br> <input type="text" name="lastname" value="Mouse"> <br><br> <input type="submit" value="Submit"> </form></body>
    The deployment went through fine, but when I got an email it just print the above html body as simple text.  What am I missing?  Please advise.
    thanks
    sen

    Hi,
    Can you try converting this Message to CDATA by using toCDATA() Method.
    Regards,
    Vyshali M

  • Email SPOOL as HTML ..

    Hi !!
       We are planning to schedule certain reports in background and then want to read its spool and convert those spool to HTML and send it as aattachment to email .
    I check the forum and the library there are example of submitting report to abap memorya nd then creating html from that memory and email it . But for this i will end up having two programs one the original report program and another program to submit it .I want to avoid taht situation.
    Please mail back with code sasmples .

    check these threads
    print spool to html
    Re: how to send the spool content as a body to email id (ans by max)

  • Attachments in Email Activity ?

    Hello Experts,
    I have a requirement where i need to get the records from database and send those records as an attachment in the email activity. I got the attachment slightly working...I assigned the Database output to the String Variable and attached that string to the Attachments...
    But the records are not in a correct aligned way in the file. Is there any way to align the data in a good aligned format ?
    i need to add an attachment may be in an xml or txt or csv...but the data should be atleast in an aligned way...
    Please help me...
    Thanks,
    Naresh

    Hi Anuj,
    But if i do that, the data is completely empty in the file...If i see in the flow trace, the data is getting assigned to the attachment variable...but in the email attachment, the file is completely empty....
    And as the above person said, if i need to write the file and read the same file; that wouldn't work i guess because, my BPEL would be polling the table , after getting the records it needs to send an email with the records it got as an attachment....
    I have a question here. So if we want to add attchments, is ora:readFile the only option of attaching the file ?
    Please help...i need to copy the records inthe input of my BPEL to the attachments in the email activity in BPEL..
    Thanks,
    Naresh

  • How to edit the value in the email activity in process flow

    I have an email activity in my process flow.
    I want to change the value for the message body of the email activity. But it is not editable. While creation all the columns are in editable mode and after deploying and testing, i want to change the body of the email to be sent.
    How can i do it now? Please advice. This issue is in 6.0.4 release.
    Edited by: 910070 on Feb 17, 2012 12:48 AM

    got the solution after so much research !
    in 6.0.4, only way we can change the value for the message body or subject is to change the associate email procedure. which is something like edx_rpt_email.

Maybe you are looking for

  • Accounting postings for subcontract PO goods receipt

    Hi, Can someone please explain the accounting postings that occur when a subcontract PO is received?  I understand the usual inventory and GR/IR account entries.  But there are 2 additional account entries for transaction keys FRL and BSV.  These app

  • Project management qns

    MODERATOR:  All points have been UNASSIGNED and the thread LOCKED.  Please do not share email addresses, documents, or links to copyrighted or company confidential information on these forums.  If you have some information, please consider posting it

  • Dump error: Dynpro does not exist while in transaction me31L / me31k /ME41

    Hi Experts                               I am experiencing dump while attempting to create Schedule agreement/contract.                               Error analysis                               The system attempted to use dynpro 0201 in program "SAP

  • How glibc works?

    Hi All, How does glibc works in oracle database? Why does it cause relinking errors!! baskar.l

  • MaxLength="10" Character Count Limit in a Data Field

    Hello, Below is the syntax I'm using trying to get a data field ( MyField ) in my panel to have a maximum allowance of 10 characters. This syntax is not doing anything to limit the count. Do you know what I have wrong in the line below? <xmp_property