For some reason, they didn't add that feature into the mail programs on the iPhone. Probably something they'll add later? Who knows, but it is was mildly irritating to find they didn't have it when I first got the phone. So, I end up opening spam and then deleting it.