>> This is a multi-part message in MIME format.
>>
>> ------=_NextPart_000_041D_01CADC2A.49E0B200
>> Content-Type: text/plain;
>> charset="iso-8859-1"
>> Content-Transfer-Encoding: quoted-printable
>>
>> Can you access othe rproperties (such as PR_DISPLAY_NAME)?
>> Note that PR_SMTP_ADDRESS is not guarentee to be present.
>> Secondly, keep in mind that MAPIUtils object is being deprecated, use =
>> RDOSession instead.
>>
>> Off the top of my head:
>>
>> set Session =3D CreateObject("Redemption.RDOSession")
>> Session.MAPIOBJECT =3D Application.Session.MAPIOBJECT
>> ...
>> set AE =3D Session.GetAddressEntryFromID(mail.Recipients[1].EntryID)
>> MsgBox AE.SmtpAddress
>>
>>
>> --=20
>> Dmitry Streblechenko (MVP)
>>
http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>> -
>> Hi,
>>
>> I need to retrieve recipients' email addresses and sender's email =
>> address when an ItemSend event is raised. I just cannot get them, even I =
>> use Redemption MapiUtils. Like string lsAddresseeEmail =3D =
>> (string)utils.HrGetOneProp(mail.Recipients[1].AddressEntry.MAPIOBJECT, =
>> PrSMTPAddress);
>>
>> Is it because the email has not really been sent, so I cannot get =
>> them? Is there any way to get the email addresses?
>>
>> I am using Windows XP, Outlook 2003 and VS2005
>>
>> Thanks,
>>
>> Danny
>> ------=_NextPart_000_041D_01CADC2A.49E0B200
>> Content-Type: text/html;
>> charset="iso-8859-1"
>> Content-Transfer-Encoding: quoted-printable
>>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
>> <HTML><HEAD>
>> <META content=3D"text/html; charset=3Diso-8859-1" =
>> http-equiv=3DContent-Type>
>> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18876">
>> <STYLE></STYLE>
>> </HEAD>
>> <BODY bgColor=3D#ffffff>
>> <DIV><FONT size=3D2 face=3DArial>Can you access othe rproperties (such =
>> as=20
>> PR_DISPLAY_NAME)?</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial>Note that PR_SMTP_ADDRESS is not =
>> guarentee to be=20
>> present.</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial>Secondly, keep in mind that MAPIUtils =
>> object is=20
>> being deprecated, use RDOSession instead.</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
>> <DIV><FONT size=3D2 face=3DArial>Off the top of my head:</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
>> <DIV><FONT size=3D2 face=3DArial>set Session =3D=20
>> CreateObject("Redemption.RDOSession")<BR>Session.MAPIOBJECT =3D=20
>> Application.Session.MAPIOBJECT</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial>...</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial>set AE =3D =
>> Session.GetAddressEntryFromID(<FONT=20
>> face=3D"Times New Roman">mail.Recipients[1].EntryID</FONT>)</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial>MsgBox AE.SmtpAddress</FONT></DIV>
>> <DIV><FONT size=3D2 face=3DArial></FONT> </DIV>
>> <DIV><BR>-- <BR>Dmitry Streblechenko (MVP)<BR><A=20
>> href=3D"http://www.dimastr.com/">http://www.dimastr.com/</A><BR>OutlookSp=
>> y -=20
>> Outlook, CDO<BR>and MAPI Developer Tool<BR>-</DIV>
>> <BLOCKQUOTE=20
>> style=3D"BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; =
>> PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px"=20
>> dir=3Dltr>
>> <DIV>"BVM" <<A =
>> href=3D"mailto:DennisH@TBH.com.au">DennisH@TBH.com.au</A>>=20
>> wrote in message <A=20
>> =
>> <DIV><FONT size=3D2>Hi,</FONT></DIV>
>> <DIV><FONT size=3D2></FONT> </DIV>
>> <DIV><FONT size=3D2>I need to retrieve recipients' email addresses and =
>> sender's=20
>> email address when an ItemSend event is raised. I just cannot get =
>> them,=20
>> even I use Redemption MapiUtils. Like <FONT color=3D#0000ff=20