Maybe they'd be transported through neutral territory or over the sea on neutrally-flagged vessels.
"letters from and to POWs were usually sent through non-belligerent countries and humanitarian organizations such as Switzerland or the International Red Cross"