Vaginal discharge with foul smell. Is there any cause that is not an infection?

Yep... Although uncomfortable to discuss, "forgotten" items like a tampon that has been pushed far up into the vagina (for example, by placing another tampon, or during sex) can cause a foul odor. See your doctor!