The suspect sent a woman "hundreds of derogatory messages" while posing as her ex-boyfriend, police said in a warrant.