-
Topic
-
Hi,
How can I access the ‘ExpandedRecipients’ property of the composing message?
In Novells documentation it says:
‘ … For draft messages, expansion of the groups occurs when this property is accessed. …”How can I access it…???
The following code works:
‘ this works (but that’s not what I need!)
Set oMsg = Client.clientstate.commandmessage‘ this does not work:
‘Set oMsg = GroupWise.ComposingItemCall MsgBox (“Subject: ” & oMsg.Subject & vbCrLf & “FromText: ” & oMsg.FromText & vbCrLf & “BodyText: ” & oMsg.BodyText & vbCrLf)
Set oRecipients = oMsg.ExpandedRecipients
For Each oRecipient in oRecipients
If IsExternalDomain(oRecipient.EmailAddress) Then
MsgBox “External address detected!”
End If
NextRegards
Stephan
- You must be logged in to reply to this topic.