How to send image as a part of message rather than as an attachment

Dear All,
I have to configure one scheduler job to send html message containing image.
I went through couple of posts in the same thread list and I could send email but in all approaches image is being sent as attachment.
Can somebody guide on how to send within message itself?
Sample code will help a lot.
Thanks
-Ashish

Dear Billy,
Thanks for putting in a clear way. I hope now I could understand what you were trying to say. :)
I generated output in accordance with your format. I also got transferred content printed, still outlook is showing red cross.
Can you please verify below and let me know what could be wrong?
MIME-Version: 1.0
To: [email protected]
Content-Type: multipart/related; boundary="a1b2c3d4e3f2g1"
Content-class: urn:content-classes:message
--a1b2c3d4e3f2g1
Content-Type: text/html;
<html>
<head>
<title>Test HTML with Embedded Image-chk latest</title>
</head>
<body>
Test HTML with Embedded Image-chk latest
<p>And here it is:</p>
<img src=3D"cid:[email protected]">
<p>The end.</p>
</body>
</html>
--a1b2c3d4e3f2g1
Content-Type: image/png; name="image001.png"
Content-Transfer-Encoding: base64
Content-ID: <[email protected]>
Content-Description: image001.png
Content-Location: image001.png
iVBORw0KGgoAAAANSUhEUgAAAVQAAADsCAMAAAAcoq4rAAADAFBMVEUAAAABmf5/
nbkZR3vpoZ/VQh/0+f6qoWaKGR56enryohyIq97T4vr35uYGWp7apyCq1P+WnMZz
grW2cXOVqLyGxv7s6dgdn/VaY3TW2N6UobPw0YE+daK7jR6FZyPir62EnMtYQUSV
xvaFhYVBqf/sWysEOXn22HwBd8qtHh7Zuobqt7iwo4V4pty0wtbKysr/tVq4wszA
WlzekFoUYeDkgnu0uMBonc3syTCdjKi3uL0/wP2bFxq5gTFsabjmcGI2SmSSgq7O
5vOqkJuhut3VoHr0jDf+q1ThZlYmXpjAxoAZgKuPfaXS6f6gYixCk+Cgy/bcySS6
ODI/q/P2xDztynwIt/9Y0v+1tbUBb8C3nDtXfoTs7vHM2vr97alwHyG6iHpuUgnk
8f/Nm6DaXE6faSDmmVTllynk5Ob/n3hFyf+mtcv2wDP19PScOzaLr+TRUUbd48br
hToESIjIOxxCia42fs+wtlW5yvOcnJyHqdyOlKCmvu4kl/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eqa7EUiWqRl0w1MzlPsR9ZtpgNaH6
q0ntuGQimyKPzOrUjoWTufY1qR0ltVwykbWyKomhcq1rUgfdz0VSs2Xwq0VVHKpR
szL3VqGn5ljuQxfWtlV/mR2qUZtfS+2Gf9jSh8Rh3MQ7kMPfykD1vXAix0nqIHNa
3KdWp+YkUCGpcfAPqIj9ARVQ0QAVUAEVUCGpywo1B0ltZFVqCUFqahokdaJM6uCi
nlNNcv0/SGr3TGqSOifEwEJSU5JMapL2NQNUhqRmQ0obv17JORWSOkEmtbmjsvZt
SGpyz6S2rAcaBpUhqTMvmRi+cGJlhj8O/QEVsT+gogEqoAIqGqDWGCoktRqNZMcp
1bRdUmv1U2VspS+kyFVfOJE8ddFoSc16BrqmbLQz/CsPNePHNfRUiKQ2oOqPs5Sl
bmxNago/xdwBKpFlIUXmptek1heT87Bwopq1Xsma1HcA5qSmUgizA5AAAAAASUVO
RK5CYII=
a1b2c3d4e3f2g1
Regards,
Ashish

Similar Messages

  • How to send image as a part of body with java mail

    How to send image (.GIF) file in mail body & not as an attachement using java mail API

    You need to create a multipart/related message.
    You'll probably find examples in this forum.

  • How to send image file through mail without   any attachment

    Plz tell  me how to send image file through mail without any attachment  ( i mean not converting  that image into pdf or any format )  i want to send that text or image  through mail .

    Hi Sandeep,
    I think you can setup the type of email in Shared office Settings in transaction S016.
    There is an option called <Preset document classes>
    You choose this pushbutton to branch to the maintenance screen for the document classes that are directly displayed to users in the Business Workplace for selection when they use the Create function. The name under which the documents are displayed can also be maintained.
    http://help.sap.com/saphelp_nw70/helpdata/en/6c/69c30f418d11d1896e0000e8322d00/content.htm
    Haven't tried it though.
    Regards,
    Siddhesh

  • How to send images through PI using SOAP adapter

    hi,
    Can anybody tell me how to send images through PI using SOAP adapter.
    Regards ,
    Loveena

    Hi Loveena,
    only as attachments of a SOAP message.
    Regards,
    Udo

  • Some recipients receive my images attached to emails, some find they are embedded and difficult to impossible to separate. Just found out that if I remove my attached signature, the problem goes away. How to send images   signature reliably?

    Some recipients receive my images attached to emails, some find they are embedded and difficult to impossible to separate. Just found out that if I remove my attached signature, the problem goes away. How to send images plus signature reliably?

    When you attach things, make sure to check the box that says [√] Send Windows-Friendly attachments

  • How to send multiple material in our own message type

    Dear All,
    Any idea about how to send multiple material in our own message type,In my outbound i have created a message type but able to send only one material through program. If i give range of material its in error status 26 in WE02 and failed to send.
    Help me ASAP.
    Thanks & Regards,
    Arun.

    hi Gordon,
    I want to receive the IDOC data for message type WPUUMS from a java server. Currently i am working on sample values for segments
    E1WPU01
    E1WPU02
    E1WPU03
    E1WPU04
    E1WPU05
    E1WXX01
    I am facing problems in passing the correct values .
    Its throwing a error message status 51.(Application document not posted) IDoc not fully processed.
    can you help me with some dummy data for all the fields in the above segments.
    reply ASAP
    regards
    arun
    Edited by: Arun Kumaran on Aug 22, 2008 3:33 PM

  • How do you attach a scan to the end of an e mail?  when I try it always sends the opened scan document as the e mail rather than as an attached file!

    I have a query.  When I try to send a scanned document as an attachment in mail the scanned document gets e mailed as an open document rather than as an attachment to the e mail.  Any suggestions?

    Some possible strategies for dealing with this include:
    * zip the file (control-click the file, and select "compress") and send the zipped file.
    The recipients email program should display this file as an attached file. But the recipient will have to unzip it at their end.
    * I've never tried it, but people say this can help: Attachment Tamer

  • How can I show the name in the list of new messages rather than the address

    I have noticed something weird in Apple mail. In the list of new messages, the FROM field sometimes shows the email address rather than the name of the sender (even if that sender is in my address book). Because of this, when I search for some users, I can search by name but for others I must search by email address. However, in the FROM field when I actually open the message, the full name is always in the field rather than the email address (if the contact is in my address book at least).
    Here's a screenshot that illustrates what I am talking about.
    http://img94.imageshack.us/img94/8126/applemail.jpg
    (notice that in the message list it says from [email protected] but in the message view below, it says from Tony XXXX
    My question is: Is there any way to display the actual name in the FROM field in the list of new messages rather than the email address, in the same way it is displayed when I actually open the message? I can't seem to find any settings that fix this.

    Yup, no longer an option.
    Leave feedback for Apple about the feature here:  www.apple.com/feedback

  • I have created a Muse site for a client that wishes to host with Business Catalyst. How do I publish the site with their account rather than using one of my free sites?

    I have created a Muse site for a client that wishes to host with Business Catalyst. How do I publish the site with their account rather than using one of my free sites? This is so I can keep my free ones for personal projects but also so they can pay for their own hosting. I am happy to set it all up for them but not sure what to do.

    Hi
    You can use their BC login details and use them , which on publish the site will be under their account.
    Please change the BC login from Edit > Preferences > Publish > Switch Accounts , for Mac it would Adobe Muse > Preferences
    Thanks,
    Sanjit

  • How do I display external monitor as sole display, rather than mirroring, with lid open?

    How do I display external monitor as sole display, rather than mirroring, with lid open?

    sudo nvram boot-args="iog=0x0"   restart to take effect

  • How do I place a file into the body of the email rather than as an attachment?

    I sometimes want to include a file, such as a "card" into the body of an email rather than as an attachment so that it appears immediately upon opening the email. I did this successfully at Christmas, but cannot remember how to do so now.

    The email specification doesn't allow that. PDF files, as for any content other than text or HTML, has to be sent as a link or an attachment.

  • How to send image converted to string to remote pc over tcp/ip

    hi,
              I have couple of questions. I have captured images on firewire cameras through CVS 1456. To send them on host PC i have converted an image to string. Now
    1.  How to send the image  converted to string to Host PC via TCP/IP? Please give some example.
    2.  How to converted these recived strings back to image if  iwant to proess them.
    thanks in advance.
    regards,
    yashpal

    Hi MikeS81 
    i am Prabhu.G from chennai(india). i saw your attached picture. after
    traing this image send through TCP/IP program. but sum errors in
    receiving part. so please check it this one.  i attached this VI &
    (error)picture. please send me the solution of this.
    my mail id:[email protected]  
    Attachments:
    imag send tcp.PNG ‏79 KB
    image tcp.vi ‏30 KB

  • How to send images using Tuxedo 6.5

    What would be the best way to send images( bmp, jpeg, gif) using Tuxedo 6.5? Ideally,
    I would like to keep the image with the data, ie., have the image as a field in
    the FML32 buffer. I can't see anyway of doing this... Create a new buffer type??
    Thanks
    Rich

    Rich,
    How about storing the binary image in an FML field of type CARRAY?
    Be aware of the performance impact of very large buffers - >75% of MSGMNB (I
    think) and they're transferred by file i/o -
    Regards,
    Peter.
    Rich Wojcik wrote:
    What would be the best way to send images( bmp, jpeg, gif) using Tuxedo 6.5? Ideally,
    I would like to keep the image with the data, ie., have the image as a field in
    the FML32 buffer. I can't see anyway of doing this... Create a new buffer type??
    Thanks
    Rich

  • How to send images using SOAP adapter

    hi All,
    I want to send images using the SOAP adapter . ( Sender and Receiver )
    Can anybody help out with this requirement
    Regards,
    Loveena

    Hi,
    Following links may help U
    /people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
    to know the basics about soap adapter u cn check out this link
    /people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
    to get in detail about the attachments chk out this link
    hi i am unable to attach an attachment in File to mail scenario
    Regards
    Pullarao

  • How to send image from web start application to my servlet

    Hi all,
    I have uploaded image in my web start application and now i want to send that image to my servlet. I have created URL connection and using output stream i am able to send data in String as well as numeric format but i have to send image also.
    please help.
    thanks in advance.

    I have done it. contact [email protected]

Maybe you are looking for

  • Choosing the correct structure

    I'm a relative noob to Java, and am trying to store some attributes relating to table(s) i've loaded from the database. I need to be able to store data about the table columns. ie. ColumnLabel, columnStyle, displayColumn, columnHref, displayColumn et

  • WiFi won't connect why?

    I have moved my computer and would like to connect wirelessly. Why isn't my password accepted?

  • LSMW - BUS1001001 - EDIDC40 Message

    I'm trying to set up LSMW to update characteristics on materials using object BUS1001001 and IDOC ARTMAS. When I try and generate the IDOC's I get an error message as below. Anyone know what is causing the problem? It is not a Unicode file. Message n

  • Formatted partition to NTFS, windows still doesn't install

    Hi there, i just tried installing bootcamp on my new 27" imac. I have the 1tb fusion drive. I chose around 190gb for the windows partition, mac rebooted and windows installer starts. No drives ready to install to, I chose the new windows partition, c

  • Channel index out of range

    Hello, I have an rpf sequence rendered from 3ds Max with Object ID and Z depth checked in setup. In after effects CS4 when I choose an ID Matte and choose Object ID to isolate one of the objects I get the following error message: "After Effects Error