Swimming in the rain

Is it ok to swim in 26 degrees Celsius in the rain??? People always worry me saying I can get phenomnia and die or the flu but I really want to go is that ok??