Win32ole and outlook

Hi everbody!
I`m trying to send mail which has some embedded images. Everything`s
working great except incoming mail has a blank spaces which are supposed
to be images.

here`s the part of html body I use :

</h2><img src="C:\My Documents\NetBeansProjects\mail\lib\yahoo.gif" ...

message.Attachments.Add('C:\My
Documents\NetBeansProjects\mail\lib\yahoo.gif', 1)

so there`s an attachment but no embedded image

Maybe someone has dealt with something like that, i would be happy to
hear any ideas and suggestions. Thanks!

···

--
Posted via http://www.ruby-forum.com/.

here`s the part of html body I use :

</h2><img src="C:\My Documents\NetBeansProjects\mail\lib\yahoo.gif" ...

If this is the incoming message then your image has not been HTML
embedded but instead your code has inserted a link to a local file
that the receiver of course does not have. You need to use a public
URL for that. For embedding (via mime-type) the immage inside the post
Google "HTML image embedding" or look at fx
http://aspalliance.com/1354_Sending_HTML_Mail_with_Embedded_Image_in_NET.all

~/søren/