// 'receiver' slot of the ACL message
Iterator itTo = env.getAllTo();
if(!itTo.hasNext()) {
Iterator itReceiver = msg.getAllReceiver();
while(itReceiver.hasNext())
env.addTo((AID)itReceiver.next());
}
// If no 'from' slot is present, copy the 'from' slot from the
// 'sender' slot of the ACL message
AID from = env.getFrom();