A cannabis dealer known as "fat Gav" was discovered after text messages were found on a customer's phone. He frequently sent out "text bombs" advertising drugs and offered three different strains of cannabis.
Messages from Gavin Emmett, 31, were found on the phone of Samantha Greville after the authorities had seized the device. They managed to trace the defendant's number and arrested him at his home in Abertillery, Blaenau Gwent.
A sentencing hearing at Cardiff Crown Court on Thursday heard Emmett was also found in possession of £7,000 in cash. Police seized his phone and downloaded the contents for examination.