A contract in writing takes effect upon its delivery to the party in whose favor it is made, or to his agent.
(Enacted 1872.)