$fromaddress))) { $message['authenticated_uid'] = $from_user->uid; } // Try using mailalias email aliases else if (function_exists('mailalias_user') && $from_user = mailhandler_user_load_alias($fromaddress)) { $message['authenticated_uid'] = $from_user->uid; } else { // Authentication failed. Try as anonymous. $message['authenticated_uid'] = 0; } } }