"him" can be a direct object or an indirect object.
Send the package.
Send the package to him.
Send him the package.
(package = direct object; him = indirect object)
Send Joe to the store for bread and milk.
Send him to the store for bread and milk.
(him = direct object; store = indirect object)