Simon Donnell was visiting an associate in the jail when his bid to introduce drugs via snacks from the vending machine was thwarted.