02-27-2019, 07:47 PM
(This post was last modified: 02-27-2019, 08:59 PM by jackmason@mindspring.com.)
Converted our D7 & Indy 9 application to Studio 10.3 & Indy 10 with one exception: POP3 email processing. Under Indy 9, our code worked as we wished. Moving to Indy 10 apparently requires an additional module which we have yet to identify.
The following identifiers become 'undeclared idenitifier":
[ if (EmailMsg.MessageParts.Items[Jdx] is TIdAttachment) then
if EmailMsg.MessageParts.Items[Jdx] is TIdText then
pnlAttachments.visible := true;
li := lvMessageParts.Items.Add;
li.ImageIndex := 8;
li.Caption := TIdAttachment(Msg.MessageParts.Items[Jdx]).Filename;
li.SubItems.Add(TIdAttachment(Msg.MessageParts.Items[Jdx]).ContentType);
]
We greatly appreciate the Indy Project it has been a great assistance to us since the release of Indy9.
Jack
The following identifiers become 'undeclared idenitifier":
[ if (EmailMsg.MessageParts.Items[Jdx] is TIdAttachment) then
if EmailMsg.MessageParts.Items[Jdx] is TIdText then
pnlAttachments.visible := true;
li := lvMessageParts.Items.Add;
li.ImageIndex := 8;
li.Caption := TIdAttachment(Msg.MessageParts.Items[Jdx]).Filename;
li.SubItems.Add(TIdAttachment(Msg.MessageParts.Items[Jdx]).ContentType);
]
We greatly appreciate the Indy Project it has been a great assistance to us since the release of Indy9.
Jack