The notice is not served because you printed it
Code of Civil Procedure § 1162 is the service statute for the notices that precede an unlawful detainer. Personal delivery to the tenant is the cleanest. If you cannot find them, substituted service on someone of suitable age and discretion at the residence, followed by mail, is next. Nail-and-mail — posting in a conspicuous place and mailing — is authorized after those attempts, not instead of them.
Who you serve
Serve every adult you will later name as a defendant. A notice handed only to one roommate is how the unnamed occupant becomes a Doe who still has to be served. If a written lease lists two tenants, both belong on the proof of service. Keep names consistent with the later complaint.
Proof of service is part of the exhibit
The person who served the notice should complete a proof that states the method, date, time, and address. That proof travels with the notice as an exhibit to the unlawful detainer. A missing or contradictory proof is a trial-day problem you can avoid the afternoon you serve.
Start the clock from completed service
A pay-or-quit under § 1161(2) runs three business days after service is complete, excluding Saturdays, Sundays, and judicial holidays (SB 385). Substituted service and posting-and-mailing are not complete on the hour you tape the paper; mailing is part of the method. Do not file on the print date of the notice.
Frequently asked questions
+Can I just tape a 3-day notice to the door?
Not as a first step. CCP § 1162 allows posting and mailing after personal and substituted service cannot be completed. Posting alone is not the statute.
+Does the tenant have to sign for the notice?
No. Personal delivery does not require a signature. What you need is a completed proof of service from the person who delivered it.
+When do the three business days start on a pay-or-quit?
After service under § 1162 is complete. For posting-and-mailing, that includes the mailing. Then count three business days, not three calendar days.