Converts benzoic acid into the volatile ester methyl benzoates (By similarity). This scent, mostly produced in a rhythmical, diurnal manner, attracts the pollinators (By similarity). benzoate + S-adenosyl-L-methionine = methyl benzoate + S-adenosyl-L-homocysteine Aromatic compound metabolism. Belongs to the methyltransferase superfamily. Type-7 methyltransferase family.