Link to home
Start Free TrialLog in
Avatar of Stef Merlijn
Stef MerlijnFlag for Netherlands

asked on

Need TIdMessageBuilderHtml (INDY)

Hi,

Can anybody help me with getting INDY component: TIdMessageBuilderHtml
I need to install it in Delphi 2007.

....OR....

How can I replace the code below so it will work with standard components?

Thanks.
with TIdMessageBuilderHtml.Create do
  try
    Subject := IOnderwerp.Text;
    PlainText.Text := 'text';
    Html.LoadFromFile(HTMLBestand);
    for i := 0 to EmailFiles.Count-1 do
    begin
      If (EmailFiles.Strings[i] <> HTMLBestand) then
      begin
        HtmlFiles.Add(EmailFiles.Strings[i]);
      end;
    end;
    for i := 0 to BijlageBestanden.Items.Count -1 do
    begin
      Attachments.Add(BijlageBestanden.Items.Item[i].Caption);
    end;
    FillMessage(MailMessage);
  finally
    Free;
  end;

Open in new window

SOLUTION
Avatar of Member_2_5194534
Member_2_5194534

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial