Hi, I have read that the indirect object always goes between the direct object and the verb. Not correct. Mary gave Tom a book. Mary gave a book to Tom.
Additionally, I have read that the indirect object answers the questions 'for whom' or 'to whom'. That sounds a little limiting. eg Tom gave his car a wash.
I copied and pasted what I read on indirect objects:
An indirect object is really a prepositional phrase in which the preposition to or for is not stated but understood. It tells to whom or for whom something is done. The indirect object always comes between the verb and the direct object.
Perhaps you'd be more nearly correct to say that it goes between when the preposition ("to" or "for") is omitted. Note that Clive's counter example uses the preposition.
Unfortunately, this doesn't always hold for lengthy indirect objects:
He gave to each of his eight children a check for a million dollars.