When submandibular glands are enlarged, particularly in patients with a history of pancreatitis, IgG4-related disease (characterized by lymphoplasmacytic infiltration and fibrosis of various organs) should be considered.