<p>An electromagnetic valve, in particular pressure regulating valve for automatic transmissions of motor vehicles comprises a magnet housing, a valve closing element arranged in the magnet housing and having a longitudinal opening and control edges, a valve slider located in the longitudinal opening and having control portions cooperating with the control edges with the valve closing element, the valve closing element being formed as a die cast part and the control edges being formed as a pocket-shaped depressions extending from an outer periphery.</p>