Identifies the category of the recipient: PERSON, GROUP, or DEVICE.
@recipient::getRecipientCategory()
None
(String) Recipient type; one of PERSON, DEVICE, or GROUP
The following example shows how to use the getRecipientCategory method to determine whether a recipient is a Device, and to print the address if it is an email Device:
$category = @recipient::getRecipientCategory()
if($category=="DEVICE")
@script::log($recipient.address)
endif