An inhaler with an elongated housing in the shape of an e-cigarette includes a mouthpiece (1), a body element (2) detachably connected to the mouthpiece (1), a nebulizer (3) and a container (4) for a liquid containing nicotine or other soluble chemical compounds. The container is connected or connectable to the nebulizer (3) in a fluid connection. The the nebulizer (3) is a vibrating mesh type nebulizer.