jumaris / indyproject

Automatically exported from code.google.com/p/indyproject
0 stars 0 forks source link

Building html mail message with attachment #193

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

We use a TIdMessageBuilderHtml component to create a html mail message. With an 
older version of indy 10 this worked alright, but now, the html-message is 
interpreted as an attachment in the mail-clients, but only when there is 
another attachment.
We create the message as follows:

TIdMessageBuilderHtml *MyBuilder = new TIdMessageBuilderHtml ();

MyBuilder->Html->Text = "Html goes here";

MyBuilder->Attachments->Add("myfile.pdf");

MyBuilder->FillMessage (IdMessage1);

delete MyBuilder;

What is the expected output? What do you see instead?

We expect to read the message as a normal html-message in the mail-client, but 
the html-part is a attachment (we have checked different mail-clients), and the 
HtmlViewerNeededMsg is shown as the main message.

What version of the product are you using? On what operating system?

We use indy 10 r4572 on Windows Vista and XP

Original issue reported on code.google.com by koen.bar...@gmail.com on 23 May 2011 at 8:28

GoogleCodeExporter commented 9 years ago
This is a duplicate of issue 194, and is fixed in revision 4640

Original comment by koen.bar...@gmail.com on 24 May 2011 at 10:16

GoogleCodeExporter commented 9 years ago

Original comment by gambit47 on 7 Dec 2011 at 10:05