It will work until the space fills with soot and birds nests, catches on fire and burns your house down.
Really should have a T piece on the back of the stove to which a short length of flue pipe passes through a register plate fitted up in the opening and connects to a liner.
The bottom of...