A man who refused to accept a brief relationship was over bombarded a former partner with messages, even threatening to kill himself.