When any such marriage contract is deposited in the recorder's office for record, it shall, as to all property affected by it in the county where the same is deposited, impart full notice to all persons of its contents; and no such contract shall be valid or affect any property except between the parties thereto and such as have actual notice thereof, until it shall be deposited for record, as herein prescribed.
§ 451.240, RSMo