insert a bitmap item to email body?

hi,

I'm creating a bitmap dynamically, and i want it on the

email body as a picture, can it be done


Answer this question

insert a bitmap item to email body?

  • lushdog

    Hey Ashish

    This is not helping me so musc

    Is it possiable for you to give me an example based on the code I have posted on the first message

    thanks

    tomer


  • clairetub

    Hey Tomer,

    You don't have to save the file. Create a MemoryStream to save it to and then you can get data from the memory stream as a byte array.

    Hope that helps,
    Ashish


  • Ivana Hudakova

    I know that there are two options ,

    1. attachment

    2. picture on the body of the email

    i prefer choice 2 because i have tried the attachment and

    the problem is that i must delete the file after being sent for security resons.

    and i couldn't catch any event that can be activated after the messege is sent.

    please help!

    thanks


  • ANB_149

    Hello Tomer,

    Do you want to have a bitmap attached to your email as an attachment

    Ashish


  • Sameep

    Hello Tomer,

    Sorry but I can't find a satisfactory answer to your question.  About writing to a memorystream...I've never actually worked with the MemoryStream class. Maybe you could find a solution if you do some googling on working with MemoryStreams. Otherwise, lets hope someone posts an answer to this question soon. You can also try posting your question on some other forum if you don't get an answer quickly.

    Hope your question gets answer soon,
    Ashish


  • insert a bitmap item to email body?