Issue of Image in the body of email

Hi All,
I have the following requirment:
To enter email id and image which is stored in se78 as parameters and execute it so that the respective image entered is sent to email id entered in the body of the email.
I have checked with available blogs and forums but it is not exactly meeting my requirement.
I am able to find th soultion to send the report ouptut in the body of the email.
But I need soultion to send the Image in the body of the email.
Please let me know the solution when you have the time.
Regards.
A.Srinivas
Edited by: Thomas Zloch on Jan 21, 2011 5:17 PM - urgency reduced

If you want to reference an image for an email body via HTML, you should either store it in the MIME repository or on an external content server.  The graphics manager is for form development, though you could extract the data, it would be a painful and unnecessary process.

Similar Messages

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

  • Not able to see the Image in the body of email

    Hi
    I need to send email having image in the body. I have created a file in mime repository but not able to take its value in my abap program.
    I am using  WWW_GET_MIME_OBJECT to be used in the body of the mail.
    Anybody having clue about it.
    Thanks & Regards,
    Ravi Grover

    Hi Ravi,
    you may compose an email that looks like the one you want to send.
    If you analyze the source, you will see that the image is included as an HTML reference. Check this [stone-old thread that can be found by simple search|Image embed in email with ABAP; .
    Regards
    Clemens

  • Since I Updated Firefox I Cant Paste Images In The Body of Emails

    I use go daddys web mail, i use to be able to paste images in the body of the email on my godaddy email and gmail but since i updated Firefox it dosent let me do that any more, all i get is a broken file. what can i do?

    Try to read raq here;
    * http://www.roboform.com/support/faq/roboform#toolbar

  • Lately, I'm unable to paste any image into the body of any email I compose. I did not have this issue before today. Please help.

    Could this issue with not being able to copy and paste any image within the email body, be virus or malware related?
    Though I don't think I have any virus problems. Also I have all the latest updates for Thunderbird.
    I read some suggestions posted elsewhere and tried those but none of these worked :
    DID NOT WORK #1 :
    (If your Thunderbird email message is displaying strange-looking code (tags) after each link, images are missing (it looks like images have been stripped out), and the font appears different, or bold, then you’ve most likely changed the message body view inadvertently. To switch it back, simply:
    Browse to View -> Message Body As -> and select Original HTML.)
    DID NOT WORK #2 :
    Email message looks fine, but doesn’t contain images
    If the rest of your Thunderbird email message looks okay, but is missing images, or they appear to have been stripped out, it’s very possible that you’ve changed a setting that won’t let attachments (ie. pictures) appear inline (within the message body). To change this back, simply:
    Browse to View -> and select Display Attachments Inline. )
    DID NOT WORK #3 :
    If you made the above changes to your Thunderbird settings and images still aren’t appearing in some of your messages, it may be that Thunderbird is blocking them because it thinks they are spam. To adjust your privacy settings and prevent the images from being stripped out, or not displaying at all (ie. being blocked), simply:
    Click on the button to the above right of the email message asking you whether you would like to load images.
    If the email message is from a trusted sender, you can click the link above the message specifying you would always like to load images in messages from this particular sender.
    DID NOT WORK #4 :
    If you’re still having troubles, or your changes aren’t being saved (ie. next time you open Thunderbird the images won’t display again) you can directly specify the default format Thunderbird should display email messages as in the config editor. To access it, simply:
    Browse to Tools -> Options -> Advanced tab -> Config Editor
    Search for mail.default_html_action and make sure it is set to 3 (allow original HTML). If you would like messages to open as text only (more secure, but you won’t see images, change the setting to 1).
    Could you please suggest what possibly has caused this issue? Thank you for your time.

    Thank you for your response.
    After searching around for any pointers to my problem, the above fixes I listed were the things that came closest to maybe addressing the issue, that I was able to locate. But since none worked, and as you pointed out, it is now clear they will only help towards viewing sent images rather than helping with inserting any images in the body of the email, which is the problem I suddenly started facing today.
    Coming to your suggestion, on opening the Write window, the Insert choice on the menu bar is indeed available. And I had already tried using that, by clicking on the '''Insert ----> Image''' option listed. That opens
    up the "Image Properties" box but using that has not resolved the matter either. It results in an image box getting inserted within the email but without the actual image itself.
    Plus, normally I am able to use the '''Paste''' function in the Edit menu or through right-click, but today the (Cut/Copy/Paste) functions have gone inactive, thereby disallowing me to use that to place an image within the email.

  • Can't put image into the body of Yahoo Email.

    Although easily done using I.E or Outlook, any attempt to paste an image into the body of a Yahoo Mail results in nothing happening when using Firefox. I do NOT want to use I.E.
    This is a major problem. Attachments are no solution. In many industries, including mine, we like to send flyers as images or IN-LINE documents via email.
    Will Firefox / Mozilla address this issue?
    Is there a solution already?

    I have 2 FF windows open. One to view my picture and one with Yahoo mail. If I click and drag the picture into my Yahoo mail body, it works. Can't do copy/paste like in IE.

  • How do I send photos by email as file attachments, as opposed to images in the body of the email?

    I know this has come  up before but I have not come across a satisfactory answer. Someone suggested removing my signature. I did that. It didn't help. I have a batch of photos I want to send to my computer to print out. I do not want to print out the emails, just the images. I know I can copy and paste the images into a word doc, other application doc etc., but that seems gratuitously laborious. I started off emailing the photos from the photos app, and the first couple arrived as files which I can right click and save, open etc. so I know it's possible, but the rest were sent as images in the body of the email.
    Can anyone suggest anything? I am fairly new to apple products, so please don't assume I know all the ins and outs of them!
    Thanks!

    Hello philip21,
    You may need to remove the email account from your iPhoto Preferences, and then readd it.
    iPhoto '11: Accounts preferences
    http://support.apple.com/kb/PH2340
    Cheers,
    Allen

  • Until recently I was able to send images in the body of my Yahoo emails. Now, I am getting the message "This message has been truncated", and the email does not go through. I do not have this problem using IE. Could you please help? Thank you.

    Until recently I was able to send images in the body of my Yahoo emails. Now, I am getting the message "This message has been truncated", and the email does not go through. I do not have this problem using IE. Could you please help? Thank you.

    Try this -> http://support.apple.com/kb/TA38632?viewlocale=en_US

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

  • Want to send a email with images and text in the body of email in iOS

    In iOS, we have written a code to send an email,  with embedded images and text in the body of the email ( not attachment) using mail composer. It works well with iOS devices like iPhone and iPad, but does not work in window based OS. Can anybody help. The code is

    Thanks James !, do you have an idea how to  find the window resource which I belive will be included in our appllication pack.
    In above  I have missed to copy the code,below is the code. This might help you to help me.
    NSMutableString *imgContent = [[[NSMutableString alloc] initWithString:@"<html><body>"] retain];
    UIImage *imageData = [UIImage imageNamed:@"Midhun.png"];
    NSData *imageDataInBase64 = [NSData dataWithData:UIImagePNGRepresentation(imageData)];
    NSString *base64String = [imageDataInBase64 base64EncodedString];
    [imgContent appendString:[NSString stringWithFormat:@"<p><b><img src='data:image/png;base64,%@'></b></p>",base64String]];
    [imgContent appendString:@"</body></html>"];
    MFMailComposeViewController *emailWin = [[MFMailComposeViewController alloc] init];
    [emailWin setMessageBody:imgContent isHTML:YES];

  • How do I insert an image into the body of a Yahoo email using Firefox?

    I've tried copy and paste from Photobucket, but that doesn't work. I'm asking how to have the image appear in the body of the email, not as an attachment.

    In Gmail, simply drag & drop into the text area;
    or mouseover the "+" in the bottom toolbar, then click the camera icon.

Maybe you are looking for

  • Create a Sales order (type) with reference to another Sales order only

    Hi I have 2 Order Types (ZRA and ZRC). The ZRA should always be created only with reference to a ZRC. It should not be allowed to create ZRA directly. I believe I can remove the Item categories somewhere, but can't figure it out. Any help is apprecia

  • Trouble connecting playbook to windows PC when using AVG Internet Security and USB cable ?

    I have spent ages trying to get my PC (windows 7 64bit ) to talk to the Playbook. I found the following: Windows device manager sees the playbook and will let me back up and restore but not to see the files on the Playbook. Desktop software says prob

  • Compare two rows in a same table

    Dear all I need to compare two rows in the same table, I dont know hoe to do it in pl/sql. Some one please help me on this. example: tr br price xya0001 ama7 12 xya0003 ama6 14 xya0004 ama7 16 in the table tr is a unique value for each row, I need to

  • Problem validating XMl document

    Hi everyone, I'm facing a problem validating a XML document with Apache toolkit under windows XP and eclipse 3.0 I generate a pair of public/private keys using the RSA algorithm. The keys are of arbitrary length, but satisfying RSA conditions, ie we

  • What is Nokia's own statement of direction regardi...

    I've been told Nokia is ditching the brand "OVI", in favor of a brand called "Nokia" or alike. Does this mean that a new application will replace OVI Suite? What is Nokia's own stand on OVI suite vs. PC Suite?