A device for delivering a predetermined amount of a substance within at least one body cavity of a subject, where the predetermined amount is at an effective amount for treatment of obesity or binge eating disorder. The device comprises: (a) A volume to contain the predetermined amount of the substance. (b) A delivery end placeable in proximity to the body cavity. The delivery end is in fluid communication with the volume and comprises at least one orifice. (c) A valve mechanically connected to the volume, with at least two configurations: (i) an active configuration configured to deliver the predetermined amount of the substance; and, (ii) an inactive configuration, in which the valve prevents delivery of the predetermined amount of the substance. (d) A fluid tight chamber configured to contain a predetermined volume of pressurized gas at a predetermined pressure.