Page 632 of Collins English Usage reads
When you are reporting an action that the speaker intends to perform, you can sometimes use either a 'to'-infinitive or a 'that'-clause.
You do not use a 'to'-infinitive if the hearer is being mentioned, I promised her I would send her the money.
Are sentences such as I promised/offered her to send the money rightaway grammatically incorrect?