Disclosed is an ester derivative of 2-amino-2-phenyl-alkanol of general formula (I) where the substituents are as disclosed in the specification. An example of a compound of formula (I) is 2-(chloromethoxycarbonyl methyl amino )-2-phenyl-n-butyl 3,4,5-trimethoxybenzoate. Also disclosed are a method of preparing a compound of formula (I) and a pharmaceutical composition comprising a compound of formula (I).