You are standing in the doorway of divorce and as much as it is painful to Pam to be facing that fact, the reality is, she can not control you or your decision to follow through with it.
If her behavior was as you've stated above, then her actions were deplorable. She DOES know better, she's been on the BB long enough to know that she crossed the line...but CHOSE to do so anyway.
I ache for Pam and the pain that she continues to inflict upon herself by her inability to draw upon the emotional and intellectual strength, that I know she has, to deal with this heartbreaking situation in a mature and self elevating manner.
There is no doubt in my mind that in her periods of calm she is well aware of the damage, that she continues to cause, any hope of retaining some semblence of a civil and mutually respectful relationship with you.
This is a difficult time for Pam. This is the closing of the door on a huge chapter in her life, she just hasn't seen ahead far enough yet to know that there IS life beyond her relationship with you, and very possibly a more satisfying and happier one then she'd ever have imagined possible. T2