In 200 mL of dichloromethane, 2,4,6-trimethylaniline was added, cooled to below 0 in an ice-salt bath, p-methoxybenzenesulfonyl chloride was added dropwise to the dichloromethane solution, and the reaction was heated to reflux 6 .
h, the reaction solution was poured into crushed ice and extracted with ethyl acetate for 3 times.
times, combined organic phases, the solvent was removed under reduced pressure, the concentrated solution was taken ethyl acetate, washed with brine, partitioned, concentrated filtrate, ethyl acetate recrystallization, obtained 4-methoxy-N-(2,4,6-trimethylphenyl)benzenesulfonamide solid.