Two main causes of salivary gland infection. 1. Viral infection 2. Bacterial infection. A good example of viral infection is mumps. However, this is now seldom because of the MMT vaccination. Bacterial infections causes are many. Such as smoking, poor oral hygiene, blocked salivary glands, dehydration, inadequate saliva flow in the mouth, etc.