if (is_object($object) && $object instanceof Lists && !empty($object->default)) {
$params['fromName'] = $object->default->from_name;
$params['from'] = array($object->default->from_email => $object->default->from_name);
$params['sender'] = array($object->default->from_email => $object->default->from_name);
$params['replyTo'] = array($object->default->from_email => $object->default->from_name);
$customer_id = $object->customer_id;
$fromEmail = $object->default->from_email;
}
No, it has nothing to do with this.Maybe is because I'm in impersonification mode??