Email Body Data Extract

Hi Folks,
I have recently started to dabble in SharePoint 2010. My team in our company are trying to integrate outlook into SharePoint so that we have a more centralised system.
At this time, I have the email address linked up, and when I send an email in, the email is picked up from exchange, and dropped into a list.
I have managed to use this in a workflow, and so far have only successfully extracted from this, the main stumbling block appears to be the extract of the Body of the email. I have looked around and can find no particular object in sharepoint as the Subject,
To or From fields appear.
A bit of research suggests that I need SPEmailMessage code writing, but I haven't got a great idea on how to implement this, which is why I come seeking your knowledge!
Is anyone here familiar with, or managed an integration of this method, who may be able to offer guidance on how is best to achieve this?
Many thanks for reading.
James

oMessage.HtmlBodywhere oMessage is the spemailmessage.
Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
you see a reply being an answer to the question of the thread, click "Mark As Answer

Similar Messages

  • Email body text

    Hello,
    we need to add a mailbody text to a standard mail (e.g. sales order confirmation using program SAPMV45A).
    The output type was defined using transaction NACE with application V1 and medium 5 (external sending).
    Currently we have only the PDF attachment without any text.
    The mail text using transaction V/30 cannot be used for external sending (-> OSS 191470).
    Is it possible to fill the mailbody text (argument: contents_txt in SO_DUCUMENT_SEND_API1) with standard customizing?
    Or is a modification necessary?
    Thanks in advance for your help.
    Marian.

    Hello,
    I am working in a 4.7 environment using standard output configuration using transaction NACE and I also could not get standard SAP to add email disclaimer text into the body of the email.  Here is what I did:
    1)  In function module SO_OBJECT_SEND, I added an include statement (this IS a modification to SAP):
    tm = cl_os_system=>get_transaction_manager( ).
          if not tm is initial.
            t = tm->get_current_transaction( ).
            if not t is initial.
              t->set_mode_update( oscon_dmode_direct ).
            endif.
          endif.
        catch cx_os_error cx_os_system_error.
      endtry.
                                                                                    INCLUDE ZZMVxxxxxx.
    create send request
      CALL FUNCTION 'SBCOMS_SEND_REQUEST_CREATE'
        exporting
          originator               = originator
          originator_type          = originator_type
        IMPORTING
          SEND_REQUEST             = send_request
        TABLES
          OBJCONT                  = objcont
          OBJHEAD                  = objhead
          OBJPARA                  = objpara
          OBJPARB                  = objparb
    2)  In the INCLUDE, I added this code which retrieves standard text object and populates the table which becomes the email body:
    DATA: ZZ_lines LIKE tline OCCURS 0 WITH HEADER LINE.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
        CLIENT                        = SY-MANDT*
          ID                            = 'ST'
          LANGUAGE                      = 'E'
          NAME                          = 'Z_EMAIL_DISCLAIMER_GENERAL'
          OBJECT                        = 'TEXT'
        ARCHIVE_HANDLE                = 0*
        LOCAL_CAT                     = ' '*
      IMPORTING*
        HEADER                        =*
        TABLES
          LINES                         = ZZ_LINES
      EXCEPTIONS*
        ID                            = 1*
        LANGUAGE                      = 2*
        NAME                          = 3*
        NOT_FOUND                     = 4*
        OBJECT                        = 5*
        REFERENCE_CHECK               = 6*
        WRONG_ACCESS_TO_ARCHIVE       = 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.*
      ELSE.
         LOOP AT ZZ_LINES.
              MOVE ZZ_LINES-TDLINE TO NOTE_TEXT-LINE.
              APPEND NOTE_TEXT.
              ADD 1 TO SIZE-NOTE_TEXT.
              ENDLOOP.
      ENDIF.
    3)  Finally, I created the standard text object Z_EMAIL_DISCLAIMER_GENERAL and added the following text:
    PLEASE DO NOT REPLY TO THIS EMAIL.  IF YOU HAVE QUESTIONS, PLEASE        
    CONTACT YOUR <your company's name> REPRESENTATIVE.                                                                               
    This communication is intended for the use of the addressee only and may 
    contain information that is privileged or confidential. If you are not   
    the addressee, you are hereby notified that any dissemination,           
    distribution or use of this communication is prohibited. If you received 
    this communication in error, please destroy it, all copies and any       
    attachments and notify the sender as soon as possible. Any comments,     
    statements or opinions expressed in this communication do not            
    necessarily reflect those of <your company's name>, its subsidiaries and    
    affiliates.                                                              
    Hope this helps.
    Edited by: Bruce Risto on Jun 18, 2009 11:27 AM
    Edited by: Bruce Risto on Jun 18, 2009 11:54 AM

  • IS possible to extract data from email body using ssis?

    IS possible to extract data from email body using ssis?
    the email come with a display table
    CRISTINA&amp MICROSOFT Forum

    Hi perezco,
    As Piotr said, this can be done through .NET programming in a Script Task or a Script Component. For the code snippet, please refer to the following thread:
    http://forums.asp.net/t/1629654.aspx 
    In addition, there are also third party SSIS components that provide such a functionality such as:
    http://www.cozyroc.com/ssis/receive-mail-task 
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • How to embedded oracle report data in email body from forms?

    Hi,
    I am working on oracle forms and report 10g and i am new to this. I want to knw How to embedded oracle report data in email body ?
    Regards
    Shruti

    I have uploaded a sample . This might help
    http://www.alexyscorp.com/send_report_email.zip

  • Email Body: Excel data

    Hi,
    Excel data is not showing the same in email body,

    oMessage.HtmlBodywhere oMessage is the spemailmessage.
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Burst child level data in email body

    Hi all,
    is it possible to burst child level(with respect to the request select level) data in an email body?
    To explain;
    Say I wanted to burst to email all the invoices a vendor had. This burst would send email separately to each vendor with an attachment of their invoices.
    However to achieve that, the select level has to be vendors(no?). So far so good.
    The problem then comes in when I want to the invoice numbers of a given vendor within the email body itself.
    Data structure looks like this
    <XXXX_SPLIT_DATA_TEST>
    <P_START_DATE>2011-06-06 00:00:00.0</P_START_DATE>
    <LIST_G_OTHERS>
    <G_OTHERS>
    <P_START_DATE>06-Jun-2011</P_START_DATE>
    <MY_START_DATE>2011-09-14T00:00:00.000-04:00</MY_START_DATE>
    </G_OTHERS>
    </LIST_G_OTHERS>
    <LIST_G_V>
    <G_V>
    <VENDOR>ACMEVENDOR1 INC</VENDOR>
    <VEN_NUM>50182</VEN_NUM>
    <VEN_SITE_CODE>MISSISSAUGA</VEN_SITE_CODE>
    <SITE_EMAIL>[email protected]</SITE_EMAIL>
    <CF_VENDOR_ID>36985</CF_VENDOR_ID>
    <CF_VENDOR_SITE_ID>44247</CF_VENDOR_SITE_ID>
    <LIST_G_INV>
    <G_INV>
    <INV_NUM>XO178539</INV_NUM>
    <AMT>20</AMT>
    </G_INV>
    <G_INV>
    <INV_NUM>XO178539-1</INV_NUM>
    <AMT>30</AMT>
    </G_INV>
    <G_INV>
    <INV_NUM>XO178539-5</INV_NUM>
    <AMT>100</AMT>
    </G_INV>
    <G_INV>
    <INV_NUM>XO178539-6</INV_NUM>
    <AMT>20</AMT>
    </G_INV>
    </LIST_G_INV>
    </G_V>
    <G_V>
    .....My burst control file looks like this
    <?xml version="1.0" encoding="UTF-8"?>
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi">
    <xapi:request select="/XXXX_SPLIT_DATA_TEST/LIST_G_V/G_V">
    <xapi:delivery>
    <xapi:email server="myserver" port="25" from="[email protected]"  reply-to ="">
    <xapi:message id="${CF_VENDOR_SITE_ID}" to="${SITE_EMAIL}"  attachment="true"
    subject=" New Invoices created for : ${VEN_SITE_CODE}">
    <! - Add invoices  belonging to Vendor- >
    Please find attached list of new invoices
    Regards,
    Acme Corporation
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="TEST_${VEN_NUM}_${VEN_SITE_CODE}.pdf" output-type="pdf" delivery="${CF_VENDOR_SITE_ID}">
    <xapi:template type="rtf" location="xdo://XXXX.TEST_INV_BURST_EMAIL_XXXX.en.US?getSource=true" filter=""></xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>  Any ideas?
    Thanks
    Kofi

    I was actually able to get it working myself, using the following:
    var mail;
    var address = "[email protected]";
    var firstname = firstname.rawValue;
    var lastname = lastname.rawValue;
    var location = location.rawValue;
    var date = date.rawValue
    var email = email.rawValue;
    var phone = phone.rawValue;
    var company = company.rawValue;
    var heardabout = heardabout.rawValue;
    var reasonforcall = reasonforcall.rawValue;
    var referredto = referredto.rawValue;
    var notes = notes.rawValue
    var subject = "New Prospect: "+ firstname + " " + lastname + " in " + location;
    body = "Date: " + date + "\n" + "Last Name: " + lastname + "\n" + "First Name: " + firstname + "\n" + "Phone: " + phone
          + "\n" + "Email: " + email + "\n" + "Company: " + company + "\n" + "Location: " + location + "\n" + "Heard about us from: " + heardabout
           + "\n" + "Reason for call: " + reasonforcall + "\n" + "Referred to: " + referredto + "\n" + "\n" + "Notes: " + "\n" + notes;
    mail = "mailto:" + address + "?subject=" + subject + "&body=" + body ;
    event.target.submitForm({cURL: mail, cMsg: cBody, cSubmitAs: "PDF",cCharset: "utf-8"});

  • E-Separation - Can we pass dynamic data in email body ?

    Hello Experts,
    I'm trying to pass dynamic data in the email body which is triggered on the process initiation in E-SEPARATION. Could someone please tell if it is possible in the first place ? If possible, how can I proceed ...
    What I tried ?
    When I initiate the separation process, I'm able to trigger the emails but with static content. Need something to be passed dynamically in it ....
    Thanks
    Vivek

    You can check the Document HRPBSIN_AC_MAIL_PARAMETERS  for dynamic parameters which can be used in your mail content.
    But it's limited and will not full fill to have more dynamic variables as per business requirement.
    So we have the option to enhance and replace the dynamic variable content for mail content in class CL_EAIN_UTILITIES method SEND_MAIL
    For this method you can create overwrite exit and pass the dynamic values in dialog texts objects.

  • Bulk API V2.0 Data extract support for additional objects (Campaign,Email,Form,FormData,LandingPage)?

    allison.moore
    Any plans for adding following objects under Bulk API V2.0 for data extraction from Eloqua. Extracting the data using the REST API for these objects makes it complicated.

    Thanks for quick response. Extracting these objects using REST API in depth=Complete poses lots of complication from the code perspective since these object(s) contains multiple nested or embedded objects within it. is there any guideline on how to extract these objects using REST so that we can get all the data which is required for analysis/reporting.

  • Infocube data extraction using ABAP

    Hi,
    We need to extract Charactristics values data from Infocube but LISTCUBE cannot be used because of reasons of flexibilty.
    can any body suggest a way of the data extraction from the Infocube.I tried using the 'RSD_CUBE_DATA_GET' but not to much success also SAP will not support for later releases.
    If anybody has a template program can you plaese send it.
    at email id [email protected]
    Thanks and Regards,
    Arunava

    Hi
    In BW v3.1 have been able to use function module RSDRI_INFOPROV_READ,  (- see demo program RSDRI_INFOPROV_READ_DEMO).
    Hope this is of some help.
    Regards,

  • Forms as Email body

    Hello,
    Is it possible to send a Adobe form as a email body and not as attachment? I know it is possible with smartforms. I am interested to know if it is also possible with ADOBE forms
    Dose anyone have some solution?
    Thanks.

    Hi
    The PDF file generated is available in the parameter fp_formoutput which is returned by the generated function module.
    call function fm_name
    exporting
    /1bcdwb/docparams = fp_docparams
    Z_VNDBNK             = wa_vndbnk
    importing
    /1BCDWB/FORMOUTPUT = fp_formoutput.
    The next step would be to extract this PDF and send it using BCS.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer         = fp_formoutput-PDF               "PDF file from function module
    TABLES
    binary_tab  = lt_att_content_hex.
    Add your PDF content lt_att_content_hex to Mail body as you do in Smartforms
    You can use 'SO_NEW_DOCUMENT_ATT_SEND_API1' to send the mail or use Objects to send the mail as below.
    CLASS cl_bcs DEFINITION LOAD.
    DATA:
    lo_send_request TYPE REF TO cl_bcs VALUE IS INITIAL.
    lo_send_request = cl_bcs=>create_persistent( ).
    ***Message body and subject
    DATA:
    lt_message_body TYPE bcsy_text VALUE IS INITIAL,
    lo_document TYPE REF TO cl_document_bcs VALUE IS INITIAL.
    Add your PDF content lt_att_content_hex to lt_message_body
    lo_document = cl_document_bcs=>create_document(
    i_type = 'RAW'
    i_text = lt_message_body
    i_subject = 'Vendor Payment Form' ).

  • How can I attach an image without the image is in the email body? (using the new mail the Lion)

    How can I attach an image without the image is in the email body? (using the new mail the Lion)
    I want in attachment, not in the body mail.

    I think your only solution is to zip the image files first and then attach them.
    Read this from a site I found:
    Sending Graphical Attachments -- When you attach a graphical image to your message, the recipient of your message sees the image inline (that is, in the body of the message) if her email client supports inline display. ("Take Control of Email with Apple Mail" contains a table listing the capabilities of popular Mac and PC email clients.) If a client does not support inline display (or the recipient has turned off the inline display option), the file appears as an attachment that must be opened in a separate program.
    On the one hand, an inline image is easier for the recipient to see - all she has to do is look at it. On the other hand, inline images can be frustrating to scroll through. If you do not wish to send a graphical image inline, you must compress the file before attaching it - Mail, sadly, lacks a built-in compression option, though fortunately for Panther users, the Finder offers Zip compression without requiring a separate application.
    Note that when you compose a new message, Mail always shows attachments in the body of your message. You can manually drag them somewhere else, but many email clients display all attachments in a separate list, regardless of where you place them in the message body.
    If you paste an image into a message or drag & drop an image from another window (say, a Web browser), Mail converts the raw image data to an attachment in TIFF format. On the other hand, if you drag & drop the icon of an image file (or use the Attach button to locate the file using the file browser), Mail leaves the attached image in its original format. This difference is significant, because although most email clients can display JPEG images just fine, support for TIFF - especially in non-Mac email clients - is less common. If possible, I suggest attaching image files as opposed to pasting or dragging in raw image data.

  • BI Publisher 11g - not able to get TEXT output in the email body

    I am trying to send TEXT report output generated by ETEXT templates in the email body by setting up the Bursting defintion in the Data Model using the following query. It is always sending it as an attachment though PARAMETER6 is set as false. Please advise on how to make it work?
    It seems PARAMETER6 does not have any effect on how it works.
    select
    customer_id KEY,
    'Etext_Template' TEMPLATE
    'ETEXT' TEMPLATE_FORMAT,
    'en-US' LOCALE,
    'TEXT' OUTPUT_FORMAT,
    'EMAIL' DEL_CHANNEL,
    null TIMEZONE,
    null CLAENDAR,
    customer_name || '_status' OUTPUT_NAME,
    'true' SAVE_OUTPUT,
    '[email protected]' PARAMETER1,
    null PARAMETER2,
    '[email protected]' PARAMETER3,
    'Status Report for ' || customer_name PARAMETER4,
    null PARAMETER5,
    'false' PARAMETER6,
    null PARAMETER7,
    null PARAMETER8
    from dpmi_customers_v
    The Oracle BI Publisher version is 11.1.1.5.0.
    Thanks,
    Suja

    Control click or Right Click on the attachment in the body of the email and select 'View as icon'.
    There is a (paid for) mail plugin called Attachment Tamer which helps Mail do a much better of handling attachments - giving much more control over how they are viewed/arranged/received. It's available from http://lokiware.info/Attachment-Tamer
    (Usual caveat, I've no connection with Lokiware, just happy with their product).

  • Purchase Order External Send with email body text

    hi guru,
    i saw lot of threads but i didn't get coreect answer
    i did below process
    Goto NACE .
    u2022 Select EF and click on OUTPUT TYPES.
    u2022 Then select Output Type NEU and click on processing routines .
    u2022 In that you have to add a new entry - medium 5 .
    u2022 Then you need to assign a program, form routine and form.
    u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    u2022 For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    u2022 Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE .
    u2022 Now the subject will be PO No. 1800004202.
    u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
    u2022 Now while creating a new purchase order , change the medium to External Send .
    u2022 Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    u2022 Goto tcode ME9F .
    u2022 Execute.
    u2022 Select the checkbox and click on Output Message.
    u2022 You will get a message MAII 00000000000001 generated .
    u2022 Use note no 191470
    mail subject is going ,but mail text is not coming.
    some people  suggest this sap note
    Note 786847 - E-mail purchase order w/ e-mail text and several attachments
    i did not get this note.
    give the solution for email body text ,i read some thread,it will solve through abap development .
    please  give solution
    regards
    vijay

    Hi
    1. GO to tcode SCOT.
    2. Double click on SMTP
    3. Click on the set button next to internet
    4. In this screen for SAP Script/ Forms select TXT.
    Regards
    Girish
    Edited by: Girish Bettaiah on Aug 8, 2011 3:11 PM

  • Generic Data Extraction From SAP R/3 to BI server using Function Module

    Hi,
    I want step by step procedure for Generic Extraction from SAP R/3 application to BI application
    using Functional module.
    If any body have any Document or any PPT then please reply and post it in forum, i will give point for them.
    Thanks & Regards
    Subhasis Pan

    please go thr this link
    [SAP BI Generic Extraction Using a Function Module|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/sap%20bi%20generic%20extraction%20using%20a%20function%20module.pdf]
    [Generic Data Extraction Using Function Module |Re: Generic Data Extraction Using Function Module;

  • Output in Email Body Formatting Warped

    Hi All
    I am completly new to powershell & am googling about for code.
    I have been able to so far to send the results of a powershell query by email and am mightly impressed it worked.
    When the query is done on the command line it works great, by email the output is spread wide and the fields dont align with each other.
    I have pasted my commands below. I am querying the Exchange Mailbox sizes and wish to sort by the biggest down.  This works great and I out put it to a text file.
    I then read the text file and substitute it for the body of the email.
    On the outlook email recepient end It looks to me like the window size of outlook causes the text to wrap around and it is no longer displayed lengthways.
    Is there anything I can do?
    Thanks
    Below gets data
    Get-WMIObject -Class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName
    MyExchangeServer | Where-Object {$_.LastWriteTime -le (Get-Date).AddYears(1)} | Select-Object MailboxDisplayName,Size
    | sort-object size -descending
    Below tells which exchnage server to use
    $psEmailServer = "MyExchangeServer"
    Below is the text file containing the data I need assigned to $body
    $body= (Get-Content mailboxsize.txt)
    Below sends the email using the contents of the email as the email body, BUT it dosent come out right and its out of alignment in outlook.
    send-mailmessage -from "[email protected]" -to "[email protected]" -subject "test powershell email" -body "$body"
    confuseis

    The PowerShell console uses a fixed-width font, by default, but most email clients don't.  The best solution is to use the ConvertTo-Html command on the results of your pipeline, instead of saving the text to a file.  This renders the objects in
    an HTML table instead of relying on a fixed-width font, and then you use the -BodyAsHtml switch when calling Send-MailMessage:
    $data = Get-WMIObject -Class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName MyExchangeServer |
    Where-Object {$_.LastWriteTime -le (Get-Date).AddYears(1)} |
    Select-Object MailboxDisplayName,Size |
    sort-object size -descending
    $psEmailServer = "MyExchangeServer"
    $body = $data | ConvertTo-Html | Out-String
    Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "test powershell email" -Body $body -BodyAsHtml
    Edit:  If you absolutely must send the contents of the file as-is, you can still try sending the body as HTML, wrapping the body text in a <pre> tag, which should be displayed in a fixed-width font:
    $body = Get-Content mailboxsize.txt -Raw
    $body = '<pre>{0}</pre>' -f [System.Net.WebUtility]::HtmlEncode($body)
    $psEmailServer = "MyExchangeServer"
    Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "test powershell email" -Body $body -BodyAsHtml

Maybe you are looking for

  • Re: [(forte-users) Need help w/SQL to Informix using anarray in WHERE c

    Bob. That syntax isn't know Forte, used Dynamic SQL and coding it dynamically. And the SQL statement exceed 255 bytes, divide in 2 or more sentences (NameListCity1, NameListCity2, NalmeListCountry1, ...) Try with: NameListCity = 'city1','city2','city

  • Netflix Shows Only Blank Screen

    This problem started two weeks ago. System: Windows XP Latest Firefox browser When I select a Netflix movie, it comes up as a blank screen. Previously I had been using Firefox and Netflix for years without any problems. I have uninstalled an reinstal

  • Appearance of quark files

    Hi, At work my boss just got a new Mac Mini with Tiger 10.4.2. I have 10.3.8 Panther and there are a few computers still running OS 9. We have a server for all our files. On the new Mac Mini Quark 5 files are coming up with a strange black icon. I ca

  • Wish to prevent application starting threads

    Hi, I wish to prevent my standalone java application from executing threads. I ensure the permission,      java.lang.RuntimePermission "modifyThreadGroup" is not in the policy file. According to http://java.sun.com/j2se/1.4.2/docs/guide/security/perm

  • After installing an addon, firefox does not prompt me to restart

    In Archlinux, when I install an add on, I am never prompted to restart firefox like I am on my Mac. I am using Firefox 4.0 RC1. (I also have no idea why firefox isn't using the gpu. glxgears etc do just fine)