It is very possible that you have developed an anal fissure (tear of anal lining due to the experience with your boyfriend).
Mucus in stool is usually associated with healing process of the anal tear.
Mucus in stool with foul odor can be due to anal infection or due to certain change in diet.
You may have an inflammation of the large intestines, too.