It was during that period that new revelations of sexually explicit text messages and photographs, sent to women after he had left Congress, came to light and derailed Mr. Weiner’s bid for mayor, which had been gaining momentum  partially based on the notion that he had moved beyond his lewd messaging.