The Stags have been drawn at home to National League side Chorley in the First Round of the Emirates FA Cup.
The Magpies currently sit 23rd in the National League table.
First round ties will be played over the weekend of 09 November.
Further fixture details will be announced in due course.