GO:0008172: S-methyltransferase activity
Catalysis of the transfer of a methyl group to the sulfur atom of an acceptor molecule.