If you use the word to, put the indirect object at the end of the sentence.
I gave to Greg the bottle of wine.
(indirect object/Greg – direct object/bottle of wine)
I gave the bottle of wine to Greg.
(direct object/bottle of wine – indirect object/Greg)I’ll lend to you my pen.
I’ll lend my pen to you.
The examples above have the same meaning, and are correct, when you put the indirect object in the middle of the sentence.
- I gave the bottle of wine to Greg.
(direct object/bottle of wine – indirect object/Greg)
I gave Greg the bottle of wine.
(indirect object/Greg – direct object/bottle of wine) - I’ll lend you my pen.
I’ll lend my pen to you.