A county lines cocaine dealer from Middlesbrough who sent out more than 40,000 text messages to potential customers has been locked up.