Catechism of the Council of Trent
1040
Part II. Penance
Confession Should Be Made Privately And Often
Secrecy as regards confession should be strictly observed, as well by the penitent as by the priest. Hence, no one can, on any account, confess by messenger or letter, because in those cases secrecy would not be possible.