I will have to find a way to copy the indy files accros, to that I can edit them and make changes to see where it goes wrong.
At the moment I have no idea where it goes wrong in the ProcessMessage, but it does look like it has something to do with the code here:
As said, even loading directly from the Stream I just saved, the new copy shows no headers and no body after loading it.
When copying Indy files accross, I get these errors:
[dcc32 Fatal Error] IdSMTPBase.pas(603): F2051 Unit IdSMTP was compiled with a different version of IdSMTPBase.TIdSMTPBase
This keeps on going, until I probably have all Indy files copied over...
Is there any way to circumvent this?
At the moment I have no idea where it goes wrong in the ProcessMessage, but it does look like it has something to do with the code here:
Code:
repeat
Result := IOHandler.ReadLnRFC(LMsgEnd);
// Exchange Bug: Exchange sometimes returns . when getting a message instead of
// '' then a . - That is there is no seperation between the header and the message for an
// empty message.
if ((Length(AAltTerm) = 0) and LMsgEnd) or {do not localize}
({APR: why? (Length(AAltTerm) > 0) and }(Result = AAltTerm)) then begin
Break;
end else if Result <> '' then begin
AMsg.Headers.Append(Result);
end;
until False;
AMsg.ProcessHeaders;As said, even loading directly from the Stream I just saved, the new copy shows no headers and no body after loading it.
When copying Indy files accross, I get these errors:
[dcc32 Fatal Error] IdSMTPBase.pas(603): F2051 Unit IdSMTP was compiled with a different version of IdSMTPBase.TIdSMTPBase
This keeps on going, until I probably have all Indy files copied over...
Is there any way to circumvent this?

