When a tenant fails to pay rent when the same is due, and the landlord notifies him or her to pay said rent or quit the premises within ten days, unless the rent is paid within said ten days, the tenancy shall be forfeited at the end of said ten days.