I was surprised when I first learned this, but sweet corn does not need to be cooked. Many vegetables have to reach a certain temp to convert the starches, but sweet corn is mostly full of sugars.
That being said, we cook it out of preference and to produce tenderness. I would boil it about 2/3 done then let it sit on the smoker for an hour.