Display attachments in body of e-mail.

Is there a way to do this either by sender or receiver of e-mail from Apple Mail or other e-mail programs? Want to send newsletter.

After copy-and-paste, then hit the return key, it should spit out my email address. (I prefer to use this method to disclose email address - it doesn't leave my address out there wide open for spambots to troll.) Then copy that email address to an email and try to send me a picture.
And you saw my "don't include the ⏎" that I put in there but shouldn't have in my next message following that, right?
You just want to copy and paste this:
echo 9274185136367780862791258724411398020885770P | dc
If you get an error message like bin: file not found, you may have a unix issue, then try this:
echo 9274185136367780862791258724411398020885770P | /usr/bin/dc

Similar Messages

  • Apple Mail in 10.6.8 not displaying attachments

    I am unable to get consistent results on displaying attachments from Apple Mail on 10.6.8 with Exchange Server 2007 SP3 RU4. Attachments sent from an Outlook 2007 client on the same exchange server are not displayed in Apple Mail. The message shows no sign of an attachment. The problem with this issue, is it is not consistant. If I forward the e-mail message from my iPhone to myself, I get the attachment in Mail. It shows up in my iPhone correctly. I am connected to Exchange in Mail via the standard EWS (Exchange Web Services). The original message doesn't show any attachment in Mail. But after 20 or so minutes, the attachement show in the message body, but not in the header up top. Just driving me crazy. Is there anyone that can point me in a direction on who to contact on this issue to find out how it can be fixed?
    Thanks,
    Nate

    I'm having the same problem and it is driving me crazy. My main email account at work is on an Exchange 2007 server. When I send emails with attachments (using Mail 4.5), I get people replying telling me that I haven't included the attachments. However, I know I have as the attachments appear in the Sent Items and I have also tested it by sending blind copies to a Gmail account and they turn up there even when the recipient is telling me that they cannot see the attachment. Even worse, people send me emails with attachments and the attachments either just do not appear at all or they appear intermittently. Whatever the problem, this really isn't good enough - how can I work with such unreliability. If anyone has any suggestions or ideas for how to fix or work around this I'd be very grateful!

  • Mail doesn't display the full body of messages

    An example:  my bank sends me an email that I have a new bill from whoever.  The email contents display as you would expect until just after the due date for the bill, and then it's just blank.  I've tried this with Load Remote Images both off and on, with the sole difference being whether the bank logo displays or not.  The same email displays in its entirety (except for the logo) on my Mac Pro and MacBook Pro, with LRI set off (which I prefer for security reasons).  This happens a LOT with all sorts of emails, not just from the bank.  It's a total pain because I have to schlep my laptop instead of my iPad Air on trips just to get non-mangled email (and a non-crashing browser, but that's another story).  This isn't new, BTW, it's been happening on previous releases of iOS.

    Another quirk I've just noticed.  Sometimes the mail WILL display completely at first and then after I look at another mail, it changes to displaying with the body missing.  This is weird.

  • Mail stopped displaying attachments, shows generic full-screen icon

    I have been an iPhone user since 2008, and until recently, never had a problem with mail attachments. I know how they work: I need to tap to download them first, sometimes I even need to download the entire message, etc. I have successfully viewed thousands of attachments over the years.
    However, a few months ago it just stopped working. JPG, Word, Excel, PDF, etc., attachment are shown at the end of the message with their appropriate icons, and I can tap on them, as before. Tapping will get me to the attachment view screen, as before. However, what's different is that the "attachment view screen" is just a light grey gradient with a generic document icon, a file name, and a description of the file type (see below).
    This can happen in all of my mail accounts, so it shouldn't be a server setting. But there are differences:
    On Gmail, images usually display correctly, but not Office files
    On Exchange, nothing displays correctly
    When I forward the mail to myself in order to fix the issue, the following may happen:
    Forwarding an affected message from my iPhone will just kill the attachment. It will be replaced by a content-free HTML file
    Forwarding the affected message from my at work PC to my Gmail account will solve the problem, I will be able to open the message on my iPhone, even if it's a Microsoft Office file
    Forwarding an affected message from my PC to my Exchange account doesn't solve the problem.
    This looks like a bug. Any idea why it suddenly appeared recently? Anyone with a similar experience? Any solutions?
    Thanks a lot, everyone!

    SOLVED!
    The culprit was "Spaces" -- I had my work apps in one Space and my others in a second Space.
    When Spaces got in the way, I disabled it. That's when the windows disappeared!
    Note to Apple: When "Spaces" is disables, allow all windows to open in the "null" window!

  • Before: attachments not in body of letter. Now: attachments in body of letter - not wanted so. How do I fix?

    A few days ago when I used Thunderbird in sending e-mail messages as I would place an attachment it would just stay as an attachment and there was not change to what I had entered in the body of the message.
    Now when I make an attachment to an e-mail message, the attachment holds with the message, but also becomes part of the body of the message. i.e. form or picture now showing in full in body of e-mail message.
    I want to know how to change Thunderbird back so the attachments just stay attachments only.
    Thanks.

    AppMenu button - View
    Uncheck 'Display Attachments Inline'.

  • Cannot Read Body of my Mail on MacBook Pro

    I am using Mail with the latest Mavericks on my MacBook Pro....and it is all updated to the latest software  updates. For the past 5 or 6 days, I cannot read the body of my mail. The headers etc. are visible but in the preview pane below, nothing shows. I think this started because I had left the computer for a few hours and it went to sleep. When I tried to get back on, nothing happened. I pressed the enter and other keys but it still kept 'sleeping'. I finally resorted to turning the power switch off and was presented with this problem. I have searched these forums and though there are a few instances of this, they either seemed to be with older OS systems or on the initial installation of Mavericks....I have had Mavericks since it first came out with no issues.  Also, the majority of these type issues seemed to be with the iPhone or iPad...and I still have not been able to get to the bottom of this. 
    I have tried to Rebuild the mailbox several times but to no avail. Sometimes the Mail also quits unexpectedly and I am given an error statement. Any help will be greatly appreciated. Thank you.
    I have a 2008 MacBook Pro with a 2.53 GHz Intel Core and 8 Gb RAM....and about 40 Gb of free space.

    Humm,
    In the Mail > Preferences I have it set to display in Classic view.
    Side bar or Accounts in-boxes and other folders
    Then a top window of Messages left or new in the In-boxes and the messages being "read" below that.
    There are occasions when deleting a messages in the top window does not automatically select another.
    This can mean nothing displays in the bottom box  (I just can't re-create it right now ).
    If I change to the regular/default view I see the Side Bar still, then the Summary column followed by the Messages column.
    The Summary I have chosen has three Messages related to it.
    In the Messages column I have scrolled the first to reveal the contents but also show the Header of the next.  (I chose to show Full Headers so there is a lot of info here or not only the Sender but the Server(s) it came through to get to me).
    I take you do mean the actual Header to the actual message  (the lower right item in the pic) rather than calling one of the columns "Headers" ?
    7:48 pm      Sunday; August 3, 2014
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Pdf as in the body of e-mail.

    Hello experts,
    we are sending a pdf as an attachment of an e-mail.what im trying to do is to send pdf in the body of e-mail.
    i have search and couldnt find any help in the documents or discussions.
    here is my code:
    FORM SEND_MAIL
    DATA: lv_formname TYPE  tdsfname,
             lv_fm_name  TYPE  rs38l_fnam,
             ls_control_parameters TYPE ssfctrlop,
             ls_output_options     TYPE ssfcompop,
             lv_user_settings      TYPE tdbool VALUE 'X',
             ls_job_output_info    TYPE ssfcrescl,
             ls_job_output_options TYPE ssfcresop.
       DATA: lt_otfdata TYPE TABLE OF itcoo,
             lt_pdfdata TYPE TABLE OF tline WITH HEADER LINE.
       DATA: ls_data TYPE zfi_s_satici_mutabakat.
       DATA: ls_document_data       LIKE  sodocchgi1,
             lv_put_in_outbox       LIKE  sonv-flag,
             lv_sender_address      LIKE  soextreci1-receiver,
             lv_sender_address_type LIKE  soextreci1-adr_typ,
             lv_commit_work         LIKE  sonv-flag VALUE space,
             lt_packing_list  TYPE TABLE OF sopcklsti1 WITH HEADER LINE,
             lt_object_header TYPE TABLE OF solisti1   WITH HEADER LINE,
             lt_contents_bin  TYPE TABLE OF solisti1   WITH HEADER LINE,
             lt_contents_txt  TYPE TABLE OF solisti1   WITH HEADER LINE,
             lt_contents_hex  TYPE TABLE OF solix      WITH HEADER LINE,
             lt_object_para   TYPE TABLE OF soparai1   WITH HEADER LINE,
             lt_object_parb   TYPE TABLE OF soparbi1   WITH HEADER LINE,
             lt_receivers     TYPE TABLE OF somlreci1  WITH HEADER LINE.
       DATA: lv_len TYPE i,
             lv_pos TYPE i,
             lv_tab_lines TYPE i.
       DATA: lt_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
       CLEAR: lv_formname, lv_fm_name.
       lv_formname = 'ZLIMIT_REQUEST_FORM2'.
       PERFORM smartform_fm_name USING lv_formname
                                 CHANGING lv_fm_name .
    *get PDF Data
       ls_control_parameters-getotf    = 'X'.
       ls_control_parameters-no_dialog = 'X'.
       ls_output_options-tdnoprev      = 'X'.
       LOOP AT itab WHERE sel eq 'X'.
         concatenate sy-datum+6(2)'.'sy-datum+4(2)
             '.'sy-datum(4) into datum.
         CALL FUNCTION lv_fm_name
           EXPORTING
             control_parameters = ls_control_parameters
             output_options     = ls_output_options
             user_settings      = 'X'
             datum              = datum
             EPAYMENT_T1        = EPAYMENT_T1
             EPAYMENT_T2        = EPAYMENT_T2
             EPAYMENT_D1        = EPAYMENT_D1
             EPAYMENT_D2        = EPAYMENT_D2
             NAME1              = name1
    "        itab               = itab[]
           IMPORTING
             job_output_info    = ls_job_output_info
           TABLES
             ITAB               = itab
         FREE: lt_otfdata, lt_pdfdata.
         lt_otfdata[] = ls_job_output_info-otfdata[].
         PERFORM convert_otf TABLES lt_otfdata lt_pdfdata.
         FREE: lt_receivers, lt_packing_list,
               lt_contents_bin, lt_contents_txt.
    * Assigning the Description of the object sent in the mail
         CLEAR ls_document_data.
         ls_document_data-obj_name = 'Limit Talep Formu'.
         ls_document_data-obj_descr = 'Limit Talep Formu'.
         ls_document_data-expiry_dat  = sy-datum + 10.
         ls_document_data-sensitivty = 'F'.
         LOOP AT gt_mail.
           CLEAR : lt_receivers.
           lt_receivers-receiver = gt_mail-ZZSAHAMUDUREMAIL. " """reciever list
           lt_receivers-rec_type = 'U'.
           lt_receivers-com_type = 'INT'.
           APPEND lt_receivers.
           lt_receivers-COPY = mail_bm.
           lt_receivers-rec_type = 'U'.
           lt_receivers-com_type = 'INT'.
           APPEND lt_receivers.
         ENDLOOP.
         CLEAR: lt_contents_txt.
         lt_contents_txt-line = 'Sayın yetkili,'.
         APPEND lt_contents_txt.CLEAR lt_contents_txt.
         APPEND lt_contents_txt.
         CONCATENATE 'Ekte tarafınıza ait limit formu'
         ' bulunmaktadır.' INTO lt_contents_txt-line
         SEPARATED BY space.
         APPEND lt_contents_txt.CLEAR lt_contents_txt.
         APPEND lt_contents_txt.
         lt_contents_txt-line = 'Saygılarımızla,'.
         APPEND lt_contents_txt.CLEAR lt_contents_txt.
         CLEAR lt_packing_list.
         lt_packing_list-transf_bin  = space.
         lt_packing_list-head_start  = 1.
         lt_packing_list-head_num    = 0.
         lt_packing_list-body_start  = 1.
         lt_packing_list-body_num    = LINES( lt_contents_txt ).
         lt_packing_list-doc_type    = 'RAW'.
         APPEND lt_packing_list. CLEAR lt_packing_list.
         ls_document_data-doc_size = LINES( lt_contents_txt ) * 255.
         CALL FUNCTION 'SX_TABLE_LINE_WIDTH_CHANGE'
           EXPORTING
             line_width_src              = 134
             line_width_dst              = 255
           TABLES
             content_in                  = lt_pdfdata
             content_out                 = lt_contents_bin
           EXCEPTIONS
             err_line_width_src_too_long = 1
             err_line_width_dst_too_long = 2
             err_conv_failed             = 3
             OTHERS                      = 4.
    *Filling the details in SAPoffice: Description of Imported Object
    *Components table
         DESCRIBE TABLE lt_contents_bin LINES lv_tab_lines.
         CLEAR lt_contents_bin.
         READ TABLE lt_contents_bin INDEX lv_tab_lines.
         IF sy-subrc = 0.
           CLEAR: lt_packing_list.
           lt_packing_list-transf_bin = 'X'.
           lt_packing_list-head_start = 1.
           lt_packing_list-head_num = 1.
           lt_packing_list-body_start = 1.
           lt_packing_list-body_num = lv_tab_lines.
           lt_packing_list-obj_langu = sy-langu.
           lt_packing_list-doc_type = 'PDF'.
           lt_packing_list-obj_name = 'ATTACHMENT'.
           lt_packing_list-obj_descr = 'RISK TALEP FORMU.PDF'.
           lt_packing_list-doc_size = lv_tab_lines * 255.
           APPEND lt_packing_list.CLEAR lt_packing_list.
         ENDIF.
         lv_put_in_outbox = lv_commit_work = 'X'.
         CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
             document_data              = ls_document_data
             put_in_outbox              = lv_put_in_outbox
             sender_address             = lv_sender_address
             sender_address_type        = lv_sender_address_type
             commit_work                = lv_commit_work
           TABLES
             packing_list               = lt_packing_list
             object_header              = lt_object_header
             contents_bin               = lt_contents_bin
             contents_txt               = lt_contents_txt
             contents_hex               = lt_contents_hex
             object_para                = lt_object_para
             object_parb                = lt_object_parb
             receivers                  = lt_receivers
           EXCEPTIONS
             too_many_receivers         = 1
             document_not_sent          = 2
             document_type_not_exist    = 3
             operation_no_authorization = 4
             parameter_error            = 5
             x_error                    = 6
             enqueue_error              = 7
             OTHERS                     = 8.
         IF sy-subrc eq 0.
    *      gt_data-gonderx = 'X'.
    *      modify gt_data.
    *      MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *              WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
         ENDIF.
       ENDLOOP.
    ENDFORM.                    " SEND_MAIL

    Hi Matthew Billingham,
    i struggled quite a while if i should write a reply or not.
    The fact that one of my posts got rejected by suggesting FM SO_DOCUMENT_SEND_API1 finally made me do so. (maybe the rejection was ok for the context i wrote my post for but reading through the forum i feel like some people going to panic if they read the FM-name).
    I totally agree with u using CL_BC-Classes instead of old fashioned-FMs for new development.
    But that should not lead us in handling the name SO_DOCUMENT_SEND_API1 like they did with the name Lord Voldemort in Harry Potter.
    Wanting to display a PDF in email body instead of adding it as attchment, aint nescessary worth a complete redesign of the existing programm - as Cem Unal already posted his code and told us he just want to change it.
    As long as there are programms out that use this FM, there will be questions on how to handle this FM no matter if its obsolete or not. And where should they ask, when they wont be able to ask in the scn-forum?
    Reading the FMs documentation, there is nothing mentioning this FM is obsolete.
    So the strategie of suggesting to use newer technics because of personal preference should (in my opinion) not lead into deleting posts regarding the old technic on the other hand.
    regards
    Stefan Seeburger

  • Is there any way to schedule the webi report as body of the mail

    Hi All,
             I have a bit different requirement. I need to schedule the webi reports to BlackBerry Mobile .
    The report should be displayed not as an attachment or URL but should be the body of the mail.
    Is there any Trick or Tip to do that.
    Thanks in Advance

    You could schedule the reports to run as an Excel or PDF document and the destination as a folder on a server.  Then after the reports are sent to the destination, you could use the Program Job Server to run a script which parses the files line-by-line and creates an email.  It's not the most elegant solution but in theory it should work.

  • Send an smartform as body of a mail

    Hello,
    I would like know if there is another way of doing this: "Send an smartform as body of a mail". Now it is sending attached as pdf but the user prefers to view the smartform on the body of the message.
    This is a CS formulary and I think that (perhaps) at the options of  "output_options     TYPE ssfcompop," should be another of this.
    Thanks

    I have included our code to process/send our smartform via email. you should be able to see the solution in there.....
    form process_webform
    * activate XSF Output Mode
      ls_output_options-xsf        = c_charx.        " XSF Output active
      ls_output_options-xsfcmode   = c_charx.        " Get XSF params from program
      ls_output_options-xsfoutmode = c_application.  " Application
      ls_output_options-xsfformat  = c_charx.       " Formatting ON
      clear ls_output_options-xsfoutdev.
      ls_xsfparam_line-name  = 'GRAPHICS'.
      ls_xsfparam_line-value = 'EXTRACT'.
      append ls_xsfparam_line to ls_output_options-xsfpars.
      ls_xsfparam_line-name  = 'GRAPHICS-DIRECTORY'.            "#EC NOTEXT
      ls_xsfparam_line-value = c_gr_dir.
      append ls_xsfparam_line to ls_output_options-xsfpars.
      ls_xsfparam_line-name  = 'CONTENT-ID'.                    "#EC NOTEXT
      ls_xsfparam_line-value = 'ENABLE'.                        "#EC NOTEXT
      append ls_xsfparam_line to ls_output_options-xsfpars.
    * silent mode ON
      ls_output_options-tdimmed = space.
      ls_output_options-tdnewid = space.
      ls_control_parameters-no_dialog = c_charx.
      call function 'SSF_FUNCTION_MODULE_NAME'
        exporting
          formname           = pi_form
        importing
          fm_name            = l_fm_name
        exceptions
          no_form            = 1
          no_function_module = 2
          others             = 3.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        exit.
      endif.
      call function l_fm_name
        exporting
          control_parameters = ls_control_parameters
          output_options     = ls_output_options
          user_settings      = space
        importing
          job_output_info    = ls_output_data
        exceptions
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          others             = 5.
      if sy-subrc <> 0.
    *   error handling
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
      po_html       = ls_output_data-xmloutput-trfresult.
      po_t_graphics = ls_output_data-xmloutput-xsfgr.
    endform.                    "process_webform
    form send_webform
      clear l_html_xstr.
      loop at pi_s_html-content into l_html_raw.
        concatenate l_html_xstr l_html_raw into l_html_xstr in byte mode.
      endloop.
      l_html_xstr = l_html_xstr(gs_html_data-length).
      call function 'SCP_TRANSLATE_CHARS'
        exporting
          inbuff       = l_html_xstr
          incode       = '4110'                                 " utf-8
          csubst       = c_charx
          substc_space = c_charx
        importing
          outbuff      = l_html_str
          outused      = l_html_len
        exceptions
          others       = 1.
      if sy-subrc ne 0.
        "do nothing
      endif.
    * change encoding utf-8 to latin1
      replace all occurrences of 'utf-8' in l_html_str with 'latin1' ignoring case.
      replace all occurrences of 'absolute' in l_html_str with 'relative' ignoring case.
      replace all occurrences of 'overflow : auto'
                  in l_html_str with 'overflow : hidden' ignoring case.
    * The following code will replace the standard text shown in an html link
    * such as (www.sap.com) with the text passed along with the link (contained in
    * brackets [ ] ).  An example would be: "www.sap.com[Click me]" will then be
    * displayed as a link on the email with "... Click me ..." as the text.  HTML links
    * without brackets will be displayed normally (ie. www.sap.com)+
      do.
    *   Get the length for the entire HTML code for the URL and Name
        find '<a href="' in section offset l_aref_end of l_html_str match offset l_aref_start.
        if sy-subrc ne 0.
          exit.
        endif.
        find '</a>' in section offset l_aref_start of l_html_str match offset l_aref_end.
        l_aref_length = ( l_aref_end + 4 ) - l_aref_start.
    *   Find the URL/name
        l_lnk_start = l_aref_start + 9.
        find '">' in section offset l_aref_start of l_html_str match offset l_lnk_end.
        l_lnk_length = l_lnk_end - l_lnk_start.
    *   Save the URL/name
        l_link_all = l_html_str+l_lnk_start(l_lnk_length).
    *   Find where the name starts and ends
        find '[' in l_link_all match offset l_name_start.
        if sy-subrc ne 0.
          continue.
        endif.
        find ']' in l_link_all match offset l_name_end.
        if sy-subrc ne 0.
          continue.
        endif.
    *   Seperate out the URL
        l_link_url = l_link_all+0(l_name_start).
    *   Seperate out the name
        l_name_start = l_name_start + 1.
        l_name_length = l_name_end - l_name_start.
        l_link_name = l_link_all+l_name_start(l_name_length).
    *   Replace the first URL/Name occurence with just the URL
        replace first occurrence of l_link_all
                in section offset l_aref_start length l_aref_length
                of l_html_str with l_link_url.
    *   Replace the second URL/Name occurence with just the Name - first
    *   substitute special characters.
        replace all occurrences of '&' in l_link_all with '&'.
        replace all occurrences of '>' in l_link_all with '>'.
        replace all occurrences of '<' in l_link_all with '<'.
        replace first occurrence of l_link_all
                in section offset l_aref_start length l_aref_length
                of l_html_str with l_link_name.
    *   Reset ending point
        l_aref_end = l_aref_end - ( l_lnk_length + 2 ).
      enddo.
      l_html_len = strlen( l_html_str ).
      l_offset = 0.
      l_length = 255.
      while l_offset < l_html_len.
        l_diff = l_html_len - l_offset.
        if l_diff > l_length.
          ls_soli-line = l_html_str+l_offset(l_length).
        else.
          ls_soli-line = l_html_str+l_offset(l_diff).
        endif.
        append ls_soli to lt_soli.
        add l_length to l_offset.
      endwhile.
      create object lo_mime_helper.
      call method lo_mime_helper->set_main_html
        exporting
          content = lt_soli.
      loop at pi_t_graphics into gs_graphic.
        clear l_gr_xstr.
        loop at gs_graphic-content into l_gr_raw.
          concatenate l_gr_xstr l_gr_raw-line into l_gr_xstr in byte mode.
        endloop.
        l_gr_xstr = l_gr_xstr(gs_graphic-length).
        l_offset = 0.
        l_length = 255.
        clear lt_solix[].
        while l_offset < gs_graphic-length.
          l_diff = gs_graphic-length - l_offset.
          if l_diff > l_length.
            ls_solix-line = l_gr_xstr+l_offset(l_length).
          else.
            ls_solix-line = l_gr_xstr+l_offset(l_diff).
          endif.
          append ls_solix to lt_solix.
          add l_length to l_offset.
        endwhile.
        concatenate c_gr_dir gs_graphic-graphics '.bmp' into l_filename.
        concatenate c_gr_dir gs_graphic-graphics '.bmp' into l_content_id.
        l_content_type = gs_graphic-httptype.
        l_obj_len      = gs_graphic-length.
        call method lo_mime_helper->add_binary_part
          exporting
            content      = lt_solix
            filename     = l_filename
            extension    = 'BMP'
            content_type = l_content_type
            length       = l_obj_len
            content_id   = l_content_id.
      endloop.
      try.
          l_standard_txt = pi_smartform.
          call function 'READ_TEXT'
            exporting
              id       = 'ST'
              language = sy-langu
              name     = l_standard_txt
              object   = 'TEXT'
            tables
              lines    = lt_lines.
          read table lt_lines into ls_lines index 1.
          replace '&1' in ls_lines-tdline with pi_belnr.
          replace '&2' in ls_lines-tdline with pi_bukrs.
            move ls_lines-tdline to l_subject.
         lo_doc_bcs = cl_document_bcs=>create_from_multirelated(
                                        i_subject          = l_subject
                                        i_multirel_service = lo_mime_helper ).
    * Add Attachment
    *      types: begin of email_docs,
    *                   type    type so_obj_tp,
    *                   subject type so_obj_des,
    *                   content_text type soli_tab,
    *                   content_hex  type solix_tab,
    *             end of email_docs.
    *      types: email_docs_t type standard table of email_docs.
    *      data: documents type        email_docs_t,
    *      documents_line like line of documents.
    *      data: soli_tab type soli_tab,
    *            soli type soli.
    *      soli = 'This is line one'.
    *      append soli to soli_tab.
    *      soli = 'And this is line two'.
    *      append soli to soli_tab.
    *      documents_line-type = 'RAW'.
    *      documents_line-subject = 'Subject'.
    *      documents_line-content_text = soli_tab.
    *      append documents_line to documents.
    *      call method lo_doc_bcs->add_attachment
    *        EXPORTING
    *          i_attachment_type    = documents_line-type
    *          i_attachment_subject = documents_line-subject
    *          i_att_content_text   = documents_line-content_text.
        catch cx_document_bcs.
    *   error handling
          exit.
        catch cx_bcom_mime.
    *   error handling
          exit.
        catch cx_gbt_mime.
    *   error handling
          exit.
      endtry.
    * create send_request
      try.
          lo_bcs = cl_bcs=>create_persistent( ).
        catch cx_send_req_bcs.
    *   error handling
          exit.
      endtry.
      try.
          lo_bcs->set_document( i_document = lo_doc_bcs ).
        catch cx_send_req_bcs.
    *   error handling
          exit.
      endtry.
    * create recipient
      if pi_recipient ns '@'.
        l_username = pi_recipient.
        translate l_username to upper case.                     "#EC *
        try.
            lo_recipient = cl_sapuser_bcs=>create( l_username ).
          catch cx_address_bcs.
    *     error handling
            exit.
        endtry.
      else.
        l_mail_address = pi_recipient.
        try.
            lo_recipient = cl_cam_address_bcs=>create_internet_address( i_address_string = l_mail_address ).
          catch cx_address_bcs.
    *     error handling
            exit.
        endtry.
      endif.
      try.
          lo_bcs->add_recipient( i_recipient = lo_recipient ).
        catch cx_send_req_bcs.
    *   error handling
          exit.
      endtry.
    * send
      try.
    *     RECEIPTS ONLY FOR ERRORS
          call method lo_bcs->send_request->set_requested_status
            exporting
              i_requested_status = 'N'.                         "#EC NOTEXT
          lo_bcs->send( ).
          commit work.
        catch cx_send_req_bcs.
    *   error handling
          exit.
      endtry.
    endform.                    "send_webform

  • Mail attachments - Attachments are being renamed to "Mail Attachment"

    I have MacBook Air and am using the Apple Mail client to connect via IMAP to our company Exchange 2003 server.  When I receive an email with an attachment(PDF, DOC, XLS, JPG) every attachment gets renamed to Mail Attachment (With no extension at the end).  When I try to open the attachment the MAC OS doesn't understant how to open, even when I download the attachment it appears as Mail Attachment -##.
    I'm running Version 10.8.4
    Please help!

    try the following command: Mailbox menu / Rebuild
    please note, Mail.app is unable to display attachments file accented characters in filename properly,
    and the filename becomes garbage. Apple knows about this BUG for at least 5 years, without providing a fix.
    https://discussions.apple.com/message/7195409#7195409
    https://discussions.apple.com/thread/1409364?start=60&tstart=0

  • 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

  • How to display Attachments on OAF page for different entities

    Hi,
    I have a requirement where I have to create an attachment page to display the attachments dynamically at run time depending upon the values passed such as Entity Name, Primary Key values, Category Id values.
    I have a query to give me the attachments related data from the tables like fnd_documents_vl, fnd_attached_documents, fnd_document_entities, fnd_document_categories_tl.
    Now, as I read on the forum, I can make use of Oracle's seeded functionality on attachments and display attachments but in my requirement I don't have one specific entity. I have below query which gives data directly with respect to all entities from fnd tables. The name of entity and primary keys will come at run time. So, how can I make use of below query and display attachments in such a case?
    I am very new to OAf and any help will be really appreciated.
    Thanks in Advance,
    Shalini
    SELECT DISTINCT ad.attached_document_id
    ,ad.document_id AS document_id
    ,ad.last_update_date
    ,ad.last_updated_by
    ,u.user_name last_updated_by_name
    ,ad.entity_name
    ,ad.pk1_value
    ,ad.pk2_value
    ,ad.pk3_value
    ,ad.pk4_value
    ,ad.pk5_value
    ,decode(d.dm_node,
    NULL,
    (SELECT short_name
    FROM fnd_dm_nodes
    WHERE node_id = 0),
    0,
    (SELECT short_name
    FROM fnd_dm_nodes
    WHERE node_id = 0),
    node.short_name) location
    ,d.document_id document_id1
    ,d.datatype_id
    ,d.datatype_name
    ,d.description
    ,decode(d.file_name,
    NULL,
    (SELECT message_text
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code = userenv('LANG')),
    d.file_name) file_name
    ,d.media_id
    ,d.dm_type
    ,d.dm_node
    ,d.dm_folder_path
    ,e.data_object_code
    ,e.document_entity_id
    ,'ALLOW_ATTACH_UPDATE' allow_attach_update
    ,'ALLOW_ATTACH_DELETE' allow_attach_delete
    ,ad.category_id category_id
    ,cl.user_name attachment_category_name
    ,ad.status
    ,ad.creation_date
    ,(SELECT u1.user_name
    FROM fnd_user u1
    WHERE u1.user_id = ad.created_by) attached_by_name
    ,decode(d.datatype_id,
    5,
    nvl(d.title,
    d.description) || '(' ||
    substr(d.url,
    1,
    least(length(d.url),
    15)) || '...)',
    decode(d.datatype_id,
    6,
    nvl(d.title,
    d.file_name),
    decode(d.title,
    NULL,
    (SELECT message_text
    FROM fnd_new_messages
    WHERE message_name = 'FND_UNDEFINED'
    AND application_id = 0
    AND language_code =
    userenv('LANG')),
    d.title))) file_name_sort
    ,d.usage_type
    ,d.security_id
    ,d.security_type
    ,d.publish_flag
    ,cl.category_id category_id_query
    ,ad.seq_num
    ,d.url
    ,d.title
    FROM fnd_documents_vl d
    ,fnd_attached_documents ad
    ,fnd_document_entities e
    ,fnd_user u
    ,fnd_document_categories_tl cl
    ,fnd_dm_nodes node
    WHERE ad.document_id = d.document_id
    AND ad.entity_name = e.data_object_code(+)
    AND ad.last_updated_by = u.user_id(+)
    AND cl.LANGUAGE = userenv('LANG')
    AND cl.category_id = nvl(ad.category_id,
    d.category_id)
    AND d.dm_node = node.node_id(+)

    Hi Peddy,
    Thanks a lot for your guidance. I tried implementing the code in PR but I am stuck at one error. I am not able to programmatically add a new Entity ID and its attributes at run time. To make it more clear: In Jdev I created an Entity and its mappings at design time. Now, I am able to use getEntitymappings() and setEntityMappings() to modify the attributes of exiting Enity but I am not able to add/append new Entity ID to the existing one. It throws - java.lang.ArrayIndexOutOfBoundsException: 1 error.
    Please any one review the below code snippet and let me know whether I am missing something to make it work.
    Below is the Code that I have written so far:
    ====================================================
    OAAttachmentTableBean attBean = (OAAttachmentTableBean)webBean.findChildRecursive("attachTable");
    Dictionary[] entityMaps = attBean.getEntityMappings();
    entityMaps[0].remove("entityId");
    entityMaps[0].put("entityId","OE_ORDER_HEADERS");
    entityMaps[0].remove("insertAllowed");
    entityMaps[0].remove("updateAllowed");
    entityMaps[0].remove("deleteAllowed");
    entityMaps[0].put("insertAllowed", false);
    entityMaps[0].put("updateAllowed", false);
    entityMaps[0].put("deleteAllowed", false);
    // Adding Second Entity
    // Getting ArrayIndexOutOfBoundsException at below line. As i saw that getEntityMappings() returns only array of size :1 and that is teh reason I am getting error, so How can I increase the size dynamically to add new Entity or is there any other way?
    entityMaps[1].put("entityId", "XX_LINK_ENTITY"); // entity id
    entityMaps[1].put("showAll", false); // show all property
    entityMaps[1].put("insertAllowed", false);
    entityMaps[1].put("deleteAllowed", false);
    entityMaps[1].put("updateAllowed", false);
    // Adding Primary Key to Second Entity
    String[] pkAttrNames = new String[1];
    pkAttrNames[0] = "Pk1Value"; // pk view attribute name
    entityMaps[1].put("pkColumns", pkAttrNames);
    // Setting Category Values for first Entity
    Integer CatValue = 1000486;
    Integer[] categories = new Integer[2]; // categories
    categories[0] = new Integer(1);
    categories[1] = CatValue;
    // Setting Category Values for Second Entity
    Integer[] categories2 = new Integer[1]; // categories
    categories2[0] = new Integer(1); //MISC
    attBean.setEntityMappings(entityMaps);
    attBean.setDynamicCategoriesMap("OE_ORDER_HEADERS",categories);
    attBean.setDynamicCategoriesMap("XX_LINK_ENTITY",categories2);
    Thanks & Best Regards,
    Shalini

  • Since the update to 7.0.1 I am unable to open download updates to IE 8. Nor can I download a fresh version of AOL 9.0vr or download attachments from web beased e-mails. Is there a problem with Firefox, please?

    I have several problems.
    1. I cannot download attachments from web based e-mail accounts (AOL & Tesco.Net) without Firefox crashing and having to be restarted.
    2. I can no longer start Internet Explorer 8
    3. I can't download a new version of IE 8 or AOL 9.0VR. The .exe files download and run but the remainder of the download and installation process does not happen.

    If you can’t use a Bluetooth accessory or car kit

  • Display attachments through WebDynpro Abap

    Hi all,
    I am currently working on the Generic Object Services and I manage to create attachment and retrieve them. however I can't find how to display attachments into a WebDynpro interface.
    The context:
    I have two applications which communicate with RFC:
        - The first application is the business application. It contains some RFC functions to handle data, business objects and attachments. This application is under SAP R/3 4.6.C environment and attachments are stored via GOS linked to standard transactions (VA03 / CV03 / IW53).
        - The other application is a WDA interface for the final users which calls, via RFC, the functions implemented in the first application. This application is under SAP R/3 ECC6.0 environment.
    The goal:
    I would like to implement the possibility to display some documents (PDF, DOC, XLS) stored with GOS in the first application (SAP R/3 4.6.C) via the web application (SAP R/3 ECC6.0). To do this, I will use RFC functions but I don't know the functions/methods I have to call to perform this process.
    Does someone know the information that I need? Please do not hesitate to ask me should you need further information.
    Many thanks.

    Hi.,
    For Displaying PDF use interactive form UI and bind data source to context attribute. Now set  the  downloaded data from RFC to the context attribute. It will display the PDF.,
    let the experts reply for ur query..
    Thanks & Regards
    Kiran

  • Services for Objects will not display attachments

    Hi Gurus, we are currently set up to display attached documents using IXOS Live Viewer, but only a select number of users have this viewer due to licensing, etc.
    The problem is, we have requirements for other users to display attachments in FI documents who do not have IXOS Live Viewer and therefore they are not able to display the attachments because of this.  Since we will not pay for more live viewer licences, there must be a way to tell SAP to use the standard windows viewers installed on the machine, if the first choice (Live viewer) isn't installed?  I have looked through the customizing for this answer, and I think I've found where it's configured to use live viewer, but I dont' know how to config it to use something else, if live viewer isn't available.  Your help would be much appreciated.
    Marty

    Hi Marty
    It is my understanding that the IXOS licensing is based on users retrieving of documents not necessarily the viewer so the licensing implications of having non-IXOS viewers accessing documents using the generic archivelink viewer is still likely to result in licensing implications if an audit is conducted at any stage.
    The transaction for specifying the viewer is the OAA3 and OAG4.
    Regards,
    Athol

Maybe you are looking for

  • Report opens Save as Dialogue Box, on client.

    Hi, I am using Report Builder 11.1.2.1.0, and I am calling a report from Form. If I run/call report on my own pc it opens perfectly in browser (pdf format), but if same report is opened on client pc, it opens Save As dialogue box and asks user to sav

  • Firefox stops responding during Gmail and Google, why?

    The last few weeks, Firefox 4.1.0, on my XP SP3 system, stops responding while I am sending Gmail, frequently, stopping the transmission. Today, for the first time, it stopped responding while I was searching on Google. The LAST thing I want to do is

  • IPod nano is not recognised by iTunes

    My iPod nano 7th Gen is not being recognised by itunes.  It is connecting to my Mac Book Pro and is charging fine.  My iPad connects fine so am at a bit of a loss. The icon next to the iTunes store does not appear so there are no on screen instructio

  • Cannot Get Acrobat X Pro to Start

    I've istalled Adobe Acrobat X Pro on my Dell Precision T7400 with 20 gigs of ram running the 64 bit version of Windows 7 Ultimate N edition.  When I click on the icon to start the program, I get a momentary hourglass icon and then nothing happens.  I

  • Hooking my MacBook up to my hdtv

    I have a new hdtv and I would like to hook my Mac up to it so that I can watch the shows and videos that I have on my Mac on my tv. I looked in the store, but since I am not sure what it is that I am looking for, I wasn't able to find anything. What