All money received by the tax collector pursuant to the provisions of this chapter shall be for the use of the town or city.