i have noticed that when i pull from the exchnage server mail messages there
is a diffrence in the values

that i should use in the code, between a sender that has an email box in the
exchange server to an email sender which sends his email from outside.

i use imap to get the messages and this is the code:





[code]

sender data :

(**the Msg object is based on objFolder.Messages where objFolder is from
objSession.Inbox,where objSession is the mapi logon
(objSession.Logon(,,false,,,, strProfileInfo ))
sentDate = Msg.TimeSent
Sender = Msg.Sender
SenderName = Msg.Sender.Name
SenderMail = Msg.Sender.Fields(CdoPR_EMAIL)
From = Msg.Sender.Fields(CdoPR_EMAIL)
Subject = Msg.Subject




[/code]

i have found out i nthe aboev code that foe example if the sender has no
mail box on the exchange server

then the value iin CdoPR_EMAIL (which ==&H39FE001E) is incorrect and i
should use another one.

does some one know how from start i can know if the user has mail box or
not,and which values for each of the types in the code relevent for each
sender?





thnaks in advance

peleg