Before any person may enter upon or go into the workings of such mine without the consent of the person or corporation in possession, he shall give not less than five days' notice in writing to such person in possession, or to his agent or manager, and if the possession is held by a corporation, said notice shall be served upon the president, agent or manager of such corporation, or upon the foreman in charge of the mine, that at a certain date, specified in said notice, he desires to enter upon or go into the workings of said mine, as the case may be, for the purpose of surveying and taking a measurement of the same, in order that he may be able to present the facts on the trial.
NMS § 42-4-28