The San Francisco 49ers have signed undrafted punter and kickoff specialist Colton Schmidt to a three-year contract.