|Subject:||trouble with TIdSMTPServer and BCC|
|Posted by:||Alessandro (petrelliRIMUO…@interfree.it)|
|Date:||Wed, 5 Oct 2005|
basically I need to receive an email, add a BCC address and forward it.
Everything works correctly, except the fact that original BCC addresses get
I'm using latest snapshot of Indy 10, sample code:
AMsg: TStream; var LAction: TIdDataReply);
Msg := TIdMessage.Create(Owner);
AMsg.Position := 0;
Log(Msg.BccList.EMailAddresses); <--- BCCList is empty
if Assigned(BccList) then
for i := 0 to Pred(BccListCount) do
Msg.BccList.Add.Address := BccList[i];
Log(Msg.BccList.EMailAddresses); <---- BCCList contains newly added
Thanks for your help.