I need to transform the following sentece into one with an infinitive:
She was delighted when whe was told her son got the highest grade.
(1) She was delighted to be told that....
(2) She was delighted to have been told that....
Is it necessary to use the perfect infinitive (2) or would the simple infinitive (1) suffice considering her being delighted and receiving that information happened almost simultaneously?