Sending a picture to the body of email ( not as an attachment)

Hello everyone,
I have an abap program that sends an email to a list of users. In that email i have to send an image posted in the background of the email message. I have tried the following links but was unable to get the result.
a) Using CL_BCS to send email from ABAP
b) Send an picture to body of an email
I have tried uploading the image as a mime object and then get the url through function module. Also i have tried to implement it using html.  I need your reply.
Thanks in Advance
Regards
Kulwant Boparai

Hi Anshu,
    Can you please let me know is the ERMS configured in your system or you are sending
    the mail to the customer using Action Profiles. If you are sending the mail using a smartform
    assigned to an Action profile  then you can display that report internal table data or etc.. in
     the smartform itself so that the output data will be available in the e-mail body itself.
    Please let me know the way you are sending the e-mail if the above ones are incorrect.
Thanks
Arun

Similar Messages

  • Re: Sending report output in the body of Email (Not as an attachment)

    Hi,
    My requirement is to send the report output in body part of the mail itself.  I am able to send the mail with the output as an attachment but requirement is it shoud be in the body part not as an attachment..
    Thanks,
    Anshuman.

    Hi Anshu,
        Can you please let me know is the ERMS configured in your system or you are sending
        the mail to the customer using Action Profiles. If you are sending the mail using a smartform
        assigned to an Action profile  then you can display that report internal table data or etc.. in
         the smartform itself so that the output data will be available in the e-mail body itself.
        Please let me know the way you are sending the e-mail if the above ones are incorrect.
    Thanks
    Arun

  • How do I send a .pdf file in the body of email, not as attachment?

    Hello to all you MAC geniuses out there. I am using Pages to design flyers for my business. Then exporting them to a pdf file and trying to figure out how to send them in the BODY of an email and not an attachemnt that they have to open. Not really sure if this is a mail or pages question. It is probably a very simple step I am missing, but never the less can't seem to fiugre it out. Thanks in advance!
    Genn

    You must take into consideration that HTML & PDF are very different formats with conflicting purposes: HTML is by design intended for flexibility in appearance in such things as font & location of displayed elements, & has no fixed page size. PDF is intended to produce WYSIWYG documents, exactly the same regardless of platform, but requires either the Adobe Acrobat application or a PDF plug-in to do so.
    Because of this, there is no way to convert a PDF document into HTML that will completely preserve the PDF's appearance. You can more or less force elements into the same relative position using tables & other HTML features, but pagination cannot be preserved, since no HTML formatted documents will have page breaks.
    You also should consider that the appearance of an email message depends on the application used to view it. Most email, including what Mail generates, follows a standard known as MIME 1.0. MIME is designed to identify each element in the message such that different applications can process them according to their capabilities. Thus, since Mail knows how to display image files like gifs, tiffs, or jpegs, they will be displayed as if they were embedded in the text if the MIME tags indicate they should be. Anything Mail doesn't know how to process into displayable text or images, such as PDF's, will be displayed only as an attachment. The same will be true for other email reading applications.
    IOW, email is not WYSIWYG. Some apps will show displayable items inline, some won't, even if the MIME type is displayable on your Mac in Mail.
    There are several ways you can deal with this. You can try to convert the PDF into HTML, as suggested earlier. You will probably have to tweak the HTML so generated with an editor to get the best results, & deal with such things as pagination, image conversion or resizing, so-called web safe colors, etc. (PDF's are compressed & usually optimized for high resolution printing; to keep the message size down, you may want to convert images to lower resolution jpegs.)
    Or, you can convert the entire flyer to a jpeg or png image, which insures WYSIWYG output, but may make text harder to read.
    Alternately, you can compose a new message as plain text or as HTML that refers to the PDF's content & either includes it as an attachment or furnishes a link to a web page that contains it. This allows you to reach the widest audience, including those who do not have a PDF app or plug-in.
    Whatever you elect to do, remember that what you send in the email is actually a combination of content & instructions about how to deal with it, & that not all recipients will see it the same way, no matter what you do.

  • Issue with sending an image in the body of email using SAP ABAP

    Hello All,
    We have a requirement to send an email to our external clients that contains an image in the body of the email. We are using cl_bcs class in ABAP to send the email and the mail is sending in html format.
    We have uploaded the image in the SAP system using the transaction u2018SMW0u2019 and we are using the Function Module 'WWW_GET_MIME_OBJECT' to retrieve the image while sending the mail. But image is not displayed in the mail by using this approach.
    When we tried to use the image URL from the company website with <img> tag of the html code in the ABAP Program, the image is displayed in the mail. But, to display the image we need to use the download option and also it is taking time to download.
    Our aim is to download the image automatically in the mail. I have searched sdn but couldn't find complete info.
    If anyone worked on the similar functionality, kindly reply.
    Thanks in advance for your help.
    Best Regards,
    Ravi.

    Are you trying to send the e-mail with the image embedded? I did it with PHP and Phython... Never done it in ABAP, sadly to say... but I guess it should be possible. You'll need to play with the way the HTML code of the e-mail is being created, using MIME and the right headers. I'm guessing the result of WWW_GET_MIME_OBJECT will be your 'Content-ID'.
    Do some google with "Send an HTML email with embedded image". Even if it's related to another programming language it might give you some clues about how to compose the e-mail and you'll be able to replicate the logic by using CL_BCS.
    An alternative would be to just attach the image to the e-mail.
    Cheers,
    Andres.

  • I want to add a photo as an attachment and NOT have it pictured in the body of the email.

    I want to add a photo as an attachment and NOT have it pictured in the body of the email.
    When I click on the paper clip to attach, it always is pictured in the email.

    https://discussions.apple.com/message/16802006#16802006

  • How can I send multiple pictures to the Kodak link (under file & then order prints)? if the photos are not sequential can it be done?

    how can I send multiple pictures to the Kodak link (under file & then order prints)?  if the photos are not sequential can it be done?

    Does the order matter here?Because the photos will be sent for printing. If there is any other reason, can you please cite example.

  • Use standard text (SO10) in report(SE38) to compose the body of email

    hello experts,
    here i wanna create the body of email with a format, hence i decide to use Standard Text. in this Standard Text, i also maintain some variable such &p_name&( i remember it works  in forms,such script and ssf), while i define p_name as 'demo' in the program and try to transfer p_name to standard text, it fails. while i check the output of standard text, it show &p_name& instead of demo.
    could anyone tell me how to realize this function?
    Thanks in advance.
    Desmond

    Hi,
    try this,
    data:w_field(10) type c VALUE '1234'.
    DATA:wa_head TYPE THEAD.
    data:it_final TYPE TABLE OF tline.
    wa_head-tdname = 'Z_SAMPLE'.  u201CStandard text,refer screen shot
    wa_head-tdid = 'ST'.
    wa_head-tdobject = 'TEXT'.
    wa_head-tdspras = 'EN'.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
      CLIENT                        = SY-MANDT
        id                            = wa_head-tdid
        language                      = wa_head-tdspras
        name                          = wa_head-tdname
        object                        = wa_head-tdobject
      ARCHIVE_HANDLE                = 0
      LOCAL_CAT                     = ' '
    IMPORTING
      HEADER                        = HEADER
      TABLES
        lines                         = it_final
    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.
    ENDIF.
    CALL FUNCTION 'REPLACE_TEXTSYMBOL'
      EXPORTING
        endline                = 10
      FORMATWIDTH            = 72
      LANGUAGE               = SY-LANGU
      LINEWIDTH              = 132
      OPTION_DIALOG          = ' '
      REPLACE_PROGRAM        = 'X'
      REPLACE_STANDARD       = 'X'
      REPLACE_SYSTEM         = 'X'
      REPLACE_TEXT           = 'X'
        startline              = 1
    IMPORTING
      CHANGED                = CHANGED
      TABLES
        lines                  = it_final

  • 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

  • What happened to searching the body of emails in iOS 5?

    Although Apple advertised it as a feature of the mail app in iOS 5, I am unable to search the body of emails.

    It is there but it is AWFUL. It took at least 20 MINUTES to complete a search. I also switched to show last 1000 messages. I was hoping that would help, but it hasn't.
    I can search on my webmail much faster than that.
    I just tested this specifically for this post and Mail first found 2 then 4 messages in the 1st couple of minutes. Then after searching for more than 20 minutes it found about 7 more emails. Then after 23 minutes it finished searching and returned all 23 results. That is atrocious. And it takes the same amount of time no matter how many itmes you reperat the search.
    Sometimes you just see the spinning gear in the menu bar and sometimes you see a searching message at the bottom of the screen too. Sometimes you see a message saying it is checking the server.

  • Content of SMS is not included in the body of email when shared/forward as

    Sir,
    When forwarding SMS as email, the content of the SMS is stored as an attachment called <primary_text.txt> file, it's double pain since the receiving person can not read the attachment via Z10 since the device can not open *.txt> file extension.
    If it's possible, please restore this functionality back to the way of OS 6/7, which put the content of the SMS in the body of email, since I do rely on this feature heavily.
    Leo 

    nyet wrote:
    Sir,
    When forwarding SMS as email, the content of the SMS is stored as an attachment called <primary_text.txt> file, it's double pain since the receiving person can not read the attachment via Z10 since the device can not open *.txt> file extension.
    If it's possible, please restore this functionality back to the way of OS 6/7, which put the content of the SMS in the body of email, since I do rely on this feature heavily.
    Leo 
    How exactly are you trying to forward an SMS as an email?
    You can forward the SMS to an email address of your choice and that`s when your SMS will be converted to MMS, and sent to the email address of your choice . The recepient should get your message as "[email protected] carrier.com   
    Another way of doing it is to select "Share" instead of forward. Then a list of options will open that includes your email address. Select your email address and the selected text message will be added as "body.txt" and after this, you just have to enter the recepient email address and subject line (optional).
    The recepient will receive the email with a "body.txt" attachment that can be downloaded and open in or with the "Notepad" on PC

  • For some reason I now can not see the body of emails. It does show when I attempt tp reply to the email.  What has happened?

    I have been using my iPad for months.  Now for some reason the body of emails is not showing when the email is received.  If I hit reply, the body shows. Is there a setting I need to change?

    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    Or quit the app completely. Go to the home screen first by tapping the home button. Double tap the home button and the task bar will appear with all of your recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button. Launch mail again.

  • I can't send any pictures on the message application.  It tries to send it but ends up saying "Not delivered and an !"

    I can't send any pictures on the message application.  It tries to send it but ends up saying "Not delivered and an !" How do I fix this?

    See:
    * [[Images or animations do not show]]
    *A way to see which images are blocked is to click the favicon ([[Site Identity Button]]) on the left end of the location bar.
    *A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    *Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    *Select the first image link and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Why is body of emails not appearing?

    Effective yesterday evening, the body of emails, and attachments to emails were "blank" or unattached.  Why is this?  This happened right after a 1"1 session to sync up calendars.

    First line of defense... Try to Reset your device.  
    Press and hold both the Sleep/Wake button and the Home button for at least ten seconds, until the Apple logo appears (ignore the Slide to Power Off option that shows up first).

  • Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    Adobe Connect: how to display a picture in the WebCam pod when not sharing video

    The WebCam pod can pause a live video showing a static image. However, I believe that you are looking to use a Share pod, where you can upload a JPG or PNG image. Just place the share pod with the image where you would have the Camera pod.

  • For about 3 month I receive on my iPhone 3GS iOS6 and my iPad iOS5 empty messages without sender and subject in the mailbox BAL but not in the direct mailbox addresses. I cannot get rid of this messages. Can someone help me.  Thanks

    For about 3 month I receive on my iPhone 3GS iOS6 and my iPad iOS5 empty messages without sender and subject in the mailbox BAL but not in the direct mailbox addresses. I cannot get rid of this messages. Can someone help me.  Thanks !

    Disable Yahoo Messenger (with the arrow on the right of your account name) in Yahoo mail.

Maybe you are looking for

  • WARNING: Actions on button

    Hi I do not understand why I am getting this warning below WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored. Can someone help? mimi

  • A question about Panasonic Viera TCP46S2 ,wireless capatibility?

    I bought a Panasonic Viera 46" TCP 46 S2 from Best Buy in June 2010. I want to know if I can watch TV from my lap top wireless instead of using HDMI cable? If TV can be wireless, what wireless adapter do I need to purchase?

  • Posting with Reference

    Hi Gurus, what is the use of Posting with Reference? Regards

  • Network UI element and Java 8

    Hello everybody! We are using the "Network" UI element (JNet) in one of our WD Java applications (NW 7.3.1 SP 11). This element consists of an obviously unsigned Java applet (which my local Java 7 JVM complained about for some time). Anyway the apple

  • BW hierarchies not immediately updated: why ?

    Hi Colleagues, Using BI 7.01, I experience the following problem with hierarchies loads from flat files. I change data in the flat files and then, I load them against a hierarchy. Everything seems OK (green in monitor) but indicates ' Update ( 0 new