Provided is a foam-forming formulation and method of administrating a medically active or cosmetic or reliving compound to the skin, to a would or to a body cavity. The foam-forming formulation contains monoglyceride crystals, a hydrophilic blowing agent in an amount to blow the foam-forming composition and form a foam, water, and a medical, cosmetic or reliving compound. The foam-forming composition is suitable application to skin, wounds and body cavities when blown to form the foam and the foam melts at a body temperature to release the content. Also provided is a foam-forming composition vehicle for delivering an active agent.