heterophemy
Historical Reference (Webster's 1913 Unabridged)
The unconscious saying, in speech or in writing, of that which one does not intend to say; -- frequently the very reverse of the thought which is present to consciousness. R. G. White.
Sources: Open English WordNet 2025 ยท Webster's 1913 Revised Unabridged Dictionary (PD) ยท CMU Pronouncing Dictionary (BSD).