Breakdown of Me alegra que hayas enviado los documentos a tiempo.
que
that
me
me
haber
to have
enviar
to send
Questions & Answers about Me alegra que hayas enviado los documentos a tiempo.
Why is hayas enviado used instead of has enviado?
Because expressions of emotion like Me alegra que... trigger the subjunctive in the subordinate clause. Has enviado is indicative; here you need the present perfect subjunctive: hayas enviado.
What tense is hayas enviado, and when is it used?
It’s the present perfect subjunctive (haber in present subjunctive + past participle). Use it when the subordinate action is completed before or at the time of the main-clause emotion, often referring to a recent, finished action.
Could I say Me alegra que enviaste los documentos a tiempo?
Not in standard Spanish. After Me alegra que..., use the subjunctive, so ...que hayas enviado.... If you want the indicative, reframe it: Me alegra saber que enviaste los documentos a tiempo.
When would I use envíes instead of hayas enviado?
Use envíes (present subjunctive) for actions that are simultaneous/future or habitual:
What’s the difference between and ? Can I say ?