Re: DELPHI7 INDY10 - HTML emails with related attachments

Giganews Newsgroups
Subject: Re: DELPHI7 INDY10 - HTML emails with related attachments
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Tue, 27 Nov 2007

<ma…@futurelinksw.co.uk> wrote in message
news:2EE9C637B43EE340ma…@futurelinksw.co.uk...

>  Attachimg.ExtraHeaders.Values['content-id'] := '12345';

Use the ContentID property instead.  Also, you should include angle brackets
around the ID as well:

    Attachimg.ContextID := '<12345>';

>    IdMessage1.MessageParts.Clear;

You are clearing only the MessageParts but not the Headers as well.

Gambit

Replies

In response to

DELPHI7 INDY10 - HTML emails with related attachments posted by ma…@futurelinksw.co.uk on Tue, 27 Nov 2007