Embedded images in html

Hello there,

We are in the process of evaluating your product but we have came across some problem.

Our goal is to connect mailbox with java mail API and save mails as is in msg format.

But embedded images can not seen in saved msg file.

I have also look at your embedded image example and test it, it works fine.

But the text used as htmlbody is different from what we are using.

Since or goal is to save more or less exact mail (including original fonts, colors, images, attachments etc. ), we have to use “html tagged text” as it is parsed from java API

Any help would be appreciated.

Source of working example:

<body>
	<p><strong>This line is in bold.</strong></p>
	<p style="color: blue;">This line is in blue color.</p>
	<p>Here is an embedded image:</p>
	<img src="Blue hills.jpg" alt="Example Image">
</body>

Here is source of saved message which doesnt work (problem is embedded images, every other thing looks fine): (this text also is set as Htmlbody)

Asdsahdl

Asdsakdjksa

Blue hills.jpg

Hi,


Thank you very much for evaluating Aspose.Email for Java.

I would like to request you to send the source EML and resultant MSG files along with the complete sample Java code used for connecting to mailbox, fetching the mail and then saving it as MSG file.

I would like to inform you that its quite necessary for us to re-generate the issue here before logging any ticket in our bug tracking system.

Thanks in advance for your cooperation and understanding.

Best Regards

it looks like it was a minor mistake on my side.

i just re-write some piece of code to send you, it works fine now :slight_smile:

thanks for your time.