Component of the THO subcomplex of the TREX complex which is thought to couple mRNA transcription, processing and nuclear export, and which specifically associates with spliced mRNA and not with unspliced pre-mRNA (PubMed:15833825, PubMed:15998806, PubMed:17190602). Required for efficient export of polyadenylated RNA and spliced mRNA (PubMed:23222130). The THOC1-THOC2-THOC3 core complex alone is sufficient to bind export factor NXF1-NXT1 and promote ATPase activity of DDX39B; in the complex THOC2 is the only component that directly interacts with DDX39B (PubMed:33191911). TREX is recruited to spliced mRNAs by a transcription-independent mechanism, binds to mRNA upstream of the exon-junction complex (EJC) and is recruited in a splicing- and cap-dependent manner to a region near the 5' end of the mRNA where it functions in mRNA export to the cytoplasm via the TAP/NXF1 pathway (PubMed:15833825, PubMed:15998806, PubMed:17190602). Required for NXF1 localization to the nuclear rim (PubMed:22893130). THOC2 (and probably the THO complex) is involved in releasing mRNA from nuclear speckle domains. {ECO:0000269|PubMed:11979277, ECO:0000269|PubMed:15833825, ECO:0000269|PubMed:15998806, ECO:0000269|PubMed:17190602, ECO:0000269|PubMed:22893130, ECO:0000269|PubMed:23222130, ECO:0000269|PubMed:33191911}. (Microbial infection) The TREX complex is essential for the export of Kaposi's sarcoma-associated herpesvirus (KSHV) intronless mRNAs and infectious virus production. . This is the function of ENSG00000125676 (THOC2, THO complex subunit 2).