Whanganui police arrested a man for supplying methamphetamine and cannabis by tapping his cellphone.
Gregory Thomas supplied methamphetamine four times and cannabis twice between May and August in 2016.
Thomas was sentenced to home detention by Judge Charles Blackie in Whanganui District Court for supplying methamphetamine, supplying cannabis and cultivating cannabis.
Judge Blackie said Thomas, who part owned a business selling meat to kebab shops, had got himself involved in a drug world.
"Mr Thomas, you can be classified as a drug dealer. This was only a window of two or three months, we don't know whether there had been any dealings going on prior to that window.