Msg.Recipients.Items[0].Address Exception?

Giganews Newsgroups
Subject: Msg.Recipients.Items[0].Address Exception?
Posted by:  Sabine Dinis Blochberger (no.spam@here.invalid)
Date: Wed, 06 Oct 2004

Using Delphi Enterprise 7, Indy 9 snapshot from 1.Oct.2004

I'm trying to know the envelope-to field of a *received* email. If I use
  envTo := Msg.Recipients.Items[0].Address;
I get an "index exceeds maximum (0)" exception.

I have searched the web and google groups, but couldn't find more
clues...

But I'm confused, is it even possible for one Pop3 account to have
emails sent to various addresses?

Any clarification is greatly appreciated.

Regards

--
Dipl. Inform. Sabine Dinis Blochberger (FH)
Op3racional
s.blochberger  @  op3racional.de

Replies