/ Forums / Advansys Formativ / Creating Solutions with Formativ / How to determine recipient address? / Reply To: How to determine recipient address?
July 12, 2005 at 4:31 pm
#7260
The following code displays the email addresses for the current message.
dim oMsg
dim oRecipient
set oMsg = client.clientstate.commandmessage
if oMsg is nothing then
exit sub
end if
for each oRecipient in oMsg.recipients
msgbox oRecipient.displayname & vbcrlf & oRecipient.emailaddress
next
set oRecipient = nothing
set oMsg = nothing
You can apply this technique to any instance of a message object.
I hope this helps.
Advansys Support