The notices required by this article may be served on the contractor or on his agent having charge of the work, personally, or by registered mail addressed to the contractor or his agent, or, if neither can be located or their addresses are unknown, by posting in a conspicuous place upon the premises of the project.
Ca. Pub. Cont. Code § 10260