Epilobium tetragonum and Epilobium roseum have both stems, which have a four-edged bottom part.
The best characteristic for differentiation is that the upper leaves of Epilobium tetragonum have no stem, while those of Epilobium roseum have a stem.