|Subject:||Re: JPeg attachment on a plain text email|
|Posted by:||Remy Lebeau (TeamB) (firstname.lastname@example.org)|
|Date:||Tue, 13 Apr 2004|
"Roger Webb" <rwebb> wrote in message news:AD3BB4534D99E240rwebb...
> However, after the TIdAttachment.Create(...) line,
> MailMessage.MessageParts.AttachmentCount = 0.
As it should be. The AttachmentCount (and TextPartCount and
RelatedPartCount) property is only updated when the
MessageParts.CountParts() method is called, which is not done until the
message is actually being sent. That has no bearing on the TIdMessage's
ability to send the attachment, though. Something else has to be going on.
JPeg attachment on a plain text email posted by Roger Webb on Tue, 13 Apr 2004