BobS
To avoid being tripped up on a technicality, send the notice to vacate a bit over 30 days, just to be safe. Don’t call it a 30-day notice.
For example, if you want to vacate at the end of August, send a “Notice of Vacating Rented Premises effective at Midnight, August 31, 2008”. Send it about July 20 or so, then call to send e-mail to get confirmation.