Intramolecular nucleophilic aminolysis of aliphatic esters. Cyclization of methyl 2-aminomethylbenzoate to phthalimidine.