Sounds like it is just the remnants of the menses being discharged. The foul odor is caused by the discharge being kept inside the uterus for a lengthy time.
Didn't find the answer you were looking for?