When the proprietor of any hotel or inn provides a safe in the office in the hotel or inn or other convenient place for the safekeeping of any money, jewels or ornaments belonging to the guests of the hotel or inn or for any samples of merchandise of any kind carried by drummers or commercial travelers and notifies the guests of the hotel or inn by posting a notice that states the fact that in the safe or other convenient place money, jewels, ornaments or samples may be deposited in the rooms occupied by the guests, in a conspicuous manner, and if the guests neglect to deposit the money, jewels, ornaments or samples of merchandise in the safe or other convenient place, the proprietor is not liable for any loss of the money, jewels, ornaments or samples of merchandise sustained by the guest, by theft, or otherwise.