Well I think this is actually a good lesson learned Mr. P. Not just for you either. It is so easy to get caught up in something and not realize that it might be hurting someone else. Just to be safe, and ensure I don't cross any lines I always make sure Hubby knows exactly who I am chatting to and I save the converastion for him to read. He usually doesn't but it is there for him should he change his mind. I just want him to know I am not hiding anything.
It's good that you guys can work this out, and Mr. P. it is clear that you love your wife. Isn't communication great.