Varies by jurisdiction. Residential leases typically require notice, and inedequate notice (both by time and by method) nullifies the agreement. This is because the legal world generally agrees that contracts that would expose consumers with practically zero legal access or knowledge to one-sided contracts providing one party unilateral control would be unconscionable.
Even if it were technically legal it should distress you.