The Federal Communications Commission on Wednesday voted to outlaw spam sent to mobile devices, but warned that unsolicited text messages would not be covered by the ban.