Dangers of spray foam in body panels?

They are right, Its going to hold moisture and keep rotting. Do it right, Use new metal.