Reconciling Delta Imports, Inc. v. Municipal Court (1983) 146 Cal.App.3d 1033 and Borsuk v. Appellate Division (2015) 242 Cal.App.4th 607, this decision holds that a defendant in an unlawful detainer action may bring a motion to quash the special 5-day unlawful detainer summons on the ground that the complaint either alleges a claim entirely different from an unlawful detainer claim or fails to allege each statutory element of a proper unlawful detainer claim, but cannot raise other purported defects of the plaintiff’s case by means of a motion to quash. Thus, a motion to quash was properly allowed in Delta Imports because the complaint there failed to allege notice to tenant as required by CCP 1161(3). However, in this case and in Borsuk, the motions to quash were improper as here, the motion challenged the landlord’s right to terminate the lease and in Borsuk, the motion attacked the method of service of the three-day notice to quit.