EMAIL BODY SAME AS ATTACHMENT

Hi All,
Currently I am sending email with PDF attachement. I want to send the email body same as PDF attachement.
Can give me any FM name to onvert SMARTFORM into HTML to paste in email body.
Arun Prasad

Thank you for reply Krishnan.
But I believe some FM should be ther to convert SMart form to HTML content. I found SO_OBJECT_SEND FM for adding fixed text in email body which can use HTML format also.
I need another FM to convert SMARTFORM to HTML,later I can use above mentioned FM for embedded in email body.
Arun Prasad

Similar Messages

  • Email body appears as attachment

    Hi, I am sedning an eamil using the below code, when I check the mail in SOST, it looks perfect - I nice email body and a separate PDF attachment.  But when i fire it off to my email account the email body appears as a 2nd PDF attachment in the mail.
    Can anyone help me stop this?
    I get teh same problem when I use FM "SO_NEW_DOCUMENT_ATT_SEND_API1"
    *>> email body
      gt_objtxt = 'Here is where I put the email body which looks fine in SOST'.
      APPEND gt_objtxt.
    *>> email body
      TRY.
    *      ---------- create persistent send request ----------------------
          send_request = cl_bcs=>create_persistent( ).
    *      ---------- add document ----------------------------------------
          document = cl_document_bcs=>create_document(
                                        i_type    = 'RAW'
                                        i_text    = gt_objtxt[]   "email body
                                        i_subject = lv_subject ).
          CALL METHOD document->add_attachment
            EXPORTING
              i_attachment_type    = 'PDF'
              i_attachment_subject = 'stats.pdf'
              i_attachment_size    = gv_binfilesize         "was failing without this
              i_att_content_text   = gt_record[].              "my pdf attachment
    *     add document to send request
          send_request->set_document( document ).
    *      ---------- add recipient (e-mail address) ----------------------
          recipient = cl_cam_address_bcs=>create_internet_address(
                                            i_address_string = lv_email ).
    *     add recipient to send request
          send_request->add_recipient( i_recipient = recipient ).
    *      ---------- send document ---------------------------------------
          sent_to_all = send_request->send(
              i_with_error_screen = 'X' ).
          IF sent_to_all = 'X'.
    *        MESSAGE i005(ZCSH) WITH gs_orders-vbeln.
          ENDIF.
    *      ---------- explicit 'commit work' is mandatory! ----------------
          COMMIT WORK.
    *     *            exception handling
    *     * replace this very rudimentary exception handling
    *     * with your own one !!!
        CATCH cx_bcs INTO bcs_exception.
          WRITE: text-001.
          WRITE: text-002, bcs_exception->error_type.
          EXIT.
      ENDTRY.

    Hi,
    Could be a problem on the mail client side... Could you have a look to the Mail format and try with another one?
    e.g. in Outlook: Tools->options->Mail Format
    Kr,
    m.
    Edited by: Manu D'Haeyer on Oct 3, 2011 7:35 PM

  • Send Smartform as Email body not PDF attachment

    Hello Experts,
    I have a requirement where I need to send Smartform as Email body and NOT as PDF attachment.
    I have spool ID generated for the smartform, how can I send this spool in Email body rather than as an attachment.

    Hi K C
    Try this.. Get the OTF data from the SMARTFORM, use the OTF data and pass this to FM'CONVERT_OTF', and use the format as PDF.
    Then use the resultant converted PDF data as attachment while calling the  'SO_NEW_DOCUMENT_ATT_SEND_API1' FM.
    let us know if this works.
    Thanks
    Rajesh Chowdary

  • Email Body is an Attachment for Outlook

    Hello, for some reason when a user sends an email the body is put into an attachment for Outlook 2007 users. Has anyone experienced this before? And any solution for this?

    I see this too. Mac OS X 10.6.4, all the latest updates, Send Windows Friendly attachments selected and I attach at the end of the body text. ATT files appear on Outlook. Apparently this has been going on for years. APPLE needs to fix this immediately. This is extremely embarrassing to Apple as well as Mac users, it's almost as bad as iPhone 4 problems, in that every time it happens it is seen by another person as well as the original Mac user.

  • XML Publisher Email Body Attached Bursting Control File 11i EBS HRMS

    Hi there
    I have a problem with the Brusting , when I received an email through the bursting, I get the Email Body as an Attached File.
    XML Publsiher
    5.6 Build 45
    EBS 11.5.10.2
    <xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
    <xapi:request select="/XXPER/LIST_G_COMPANY_CODE">
    <xapi:delivery>
    <xapi:email id= "XXPER" server="is050.atco.com" port="25" from="${FROM_EMAIL_ADDRESS}" reply-to ="${FROM_EMAIL_ADDRESS}">
    <xapi:message id="XXPER" to="${TO_EMAIL_ADDRESS}" attachment="true" subject="XXPER Employees List Company: ${COMPANY_CODE}">
    Status: Normal, Successful Completion.
    Regards
    </xapi:message>
    </xapi:email>
    </xapi:delivery>
    <xapi:document output="XXPEREmployees List" output-type="pdf" delivery="XXPER">
    <xapi:template type="xsl-fo" location= "xdo://XX.XXPER.en.00/?getSource = true">
    </xapi:template>
    </xapi:document>
    </xapi:request>
    </xapi:requestset>
    Regards
    ASIM

    I HAVE ADDED THE FOLLOWING statement BEFORE subject, and it resolved the issue.
    content-type="text/html"
    For Example:
    <xapi:message id="XXPER" to="${TO_EMAIL_ADDRESS}" attachment="true" content-type="text/html" subject="Employees List Company: ${COMPANY_CODE}">
    Regards
    ASIM

  • Background Job result output should be displayed in Email body

    Hi Friends,
    One of our user is scheduling background job, He need the output to his external Email ID.
    user required that Job result output should be displayed in Email body, Not in attachment.
    We have tried but job result received in email as HTML (or) PDF file attachment, But he wants output  in Email body itself.
    Please help.
    Regards,
    Karthickbabu G.G

    Hi,
    Displaying report output in email body is not available as a standard feature. Also doing a custom development would be very cumbersome .
    Regards,
    Deepak Kori

  • UTL_SMTP writing to email body after writing to attachment doesn't work

    Read in contents of files and Write text to email body if size is < 10k , otherwise to an attachment. Problem is after writing to an attachment we can't get it to switch to write the next file contents to the message body.
    Example; we have 6 files in the table array. The first two files are less than 10k in size so the text from these files get written to the mail body. The third file size is 12k so the text gets written to an attachment. The 4th file is 2k but instead of being written to the email message body it gets appended to the previous attachment. All subsequent files of size < than 10k get appended to the attachment.

    Sounds like you've written some custom code and it has a bug in it. How about you post a SMALL (yet complete) example that can be run by anyone with an Oracle database (the same version as you, which you've not told us and should). From there you should get lots of help.
    To get your version
    select *
    from v$version;

  • Email body content is being sent as an attachment in workflow

    Dear all,
    In SBWP when i send mails recipents reciving mails as attachment but i need same as email body content.
    pls suggest me..
    Regards.
    Rahul.G

    In send mail task..how did you write the container values?

  • 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.

  • Text message to email sent as attachment instead of in email body

    I used to have this problem before with my iPhone 4, but it seemed to go away. Now, with the lates OS update it's back again. When I send a text message to my wife's Gmail it arrives as a text file attachment to the email instead of just normal text in the email body.
    I use Verizon, and the source of the email is @vzwpix.com. I know that there is also @vtext.com, but in the past it hasn't mattered which one was used.
    Any ideas?

    If you try reading other posts here about attachments and such you may get a hint. It sounds like all email programs would work fine if people just sent plain text. Problems arise when we use RTF (rich text format) and HTML. Possibly the original email you received had formatted text. My guess is that if you forced that text into plain text then it would be readable by all. This is the reason that only some people have trouble with the forwarded text. It depends on their email client or even on settings of that client.
    Good luck.

  • Sending PO (PDF attach.) via email: adding email body text

    Hi,
    I need to send Purchase Orders to Vendors as PDF attachments to emails; I have successfully configured all the necessary:
    For Output Type NEU
    1) Access to conditions (General Data) set to X
    2) Dispatch time 3 Send with application own transaction
    3) Transmission Medium 5 for External send
    4) Processing routines 5 includes a customer Program and Form to make use of my SAPScript
    I have set up a Communication Strategy (NET - Internet) and created a condition based on a specific document type.
    Using ME9F I can select my PO and successfully output the message - I can view the request using SOST and an email with the PO attached as PDF is sent to the correct recipient (email address of Vendor).
    I would like though to add some text to the body of the email, which is totally empty. Can anyone please advise on how to achieve this? In the Output Type config there is a section "Mail title and texts"... can anyone tell me whether this section can be used to add body text to the email and how? I have managed to customise the "Title/Subject" of the email and PO but cannot find a way to add some text in the email body.
    Thank you very much for your help.
    Gab

    Hi Danilo,
    You need to do some configuration for this.
    - Goto NACE .
    - Select EF and click on OUTPUT TYPES.
    - Then select Output Type NEU and click on processing routines .
    - In that you have to add a new entry - medium 5 .
    - Then you need to assign a program, form routine and form.
    - You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
    - Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
    - For subject of the mail goto Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
    - Under General data -> Replacement of text symbols give programm as SAPMM06E and Form Routine as
    TEXT_SYMBOL_REPLACE .
    - Now the subject will be PO No. 1800004202.
    - You need to maintain your email id in tcode SU01 and also the vendor's email id.
    - Now while creating a new purchase order , change the medium to External Send .
    - Then goto Communication Method and select CS01 . ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
    - Goto tcode ME9F .
    - Execute.
    - Select the checkbox and click on Output Message.
    - You will get a message MAII 00000000000001 generated .
    If the BASIS guys have made the necessary configuration for sending mail then the mail will go .
    You can see the status in tcode SOST.
    If you want to use a z-programm and z-form then you need add the functions used in standard programm SAPFM06P for generating mail in your z-programm.
    Hope it helps,
    Swapnil

  • My wife wrote her resume. Wants to email it as an attachment only. But whenever it is received it comes as an attachment and as an open document in the body of the email. How do we stop the resume from opening in the body of the email?

    My wife wrote her resume. Wants to email it as an attachment only. But whenever it is received it comes as an attachment and as an open document in the body of the email. How do we stop the resume from opening in the body of the email?

    wyman41 wrote:
    She wrote her resume in Word.
    I don't have any problem attaching just a MS Word file in Mail. My process is pretty simple....with a message open I click the attach icon (paperclip) at the top of the message, then navigate to where the file is located and select it. I make sure I have the cursor at the bottom of the new message below my signature line. FWIW I use MS Word 2011.

  • Content coming as .txt attachment along with email but not in email body

    Hi,
    I have a proxy to email scenario. The requirement is to generate an excel sheet and keep it as an attachment and send it to user through email.
    I am able to get the excel sheet as an attachment in email but the content of email is also coming as attachment which I do not want.
    Problem area :
    ============================================
    The Content should come in Email body but it is coming as .txt attachment in email. The email body is blank.
    Can someone help as how I can get the content in email body.?
    /Regds
    Azahar

    Hi Azahar,
       May you can find the solution in the "
    Adapter-Specific Message Attributes
    Configuring the Receiver Mail Adapter (SAP Library - Partner Connectivity Kit)

  • Attach text from SODIS into the email body

    Hello Experts,
    I am working on a requirement wherein I am sending the output of a smartform in PDF format via email to the users.Also , the disclosure from SODIS is also required to be attached as a body of the email.
    Unfortunately , I was not able to do this task. The email functionality works correctly but the disclosure text is not getting attached in the body.
    Can anyone guide me step by step for this ?
    Regards,
    Neeraj.

    Hi Neeraj,
    Once you have defined the text in SODIS, you have to select Settings icon from the tree menu. There are three options available:
    Disclosures always appended
    Application-driven
    Inactive
    Select "Disclosures always appended" and this will ensure that the email is always accompanied by the disclosures. Save. Execute SCOT and open Settings Folder. Double click on settings node and the settings screen will open on the right. In the tab Outbound Settings, in screen Main Document, check box to activate First body part must be text. Save. Send an email, it will now include email body.
    Regards,
    Harriet

  • BI Publisher how to make email body not be a attachment (message.txt)

    I am using Oracle Business Intelligence Publisher Release 10.1.3.4 Part Number E12602-01 with OBIEE 10g. When I schedule a BI pub PDF report send via email, my text in "BODY" text area shows up as an attachment (message.txt) not in the email body. How can I solve this. We don't need bursting.
    Thanks in advance!

    jordansydney wrote:
    I have literally tried everything! read all the forums! I need an actual solution!
    If everything has been tried, there is nothing more to try.  Just give up. 
    Or Troubleshooting FaceTime and iMessage activation issues

Maybe you are looking for