For sufferers of dairy, casein or milk allergies, transdermal magnesium can be the way to heal without triggering any laxative reflex due to oral magnesium therapy.
As for the gut, the key word which links magnesium and the gut is : viscosity. Explained in full on today's podcast. Lactase destruction, brought about through pasteurization, plays a part as well.