Stafford Crown Court heard a box of cannabis destined for Michael Hayer's home address in Meadowcroft Park had been seized by Border Force officers on March 18.
Following a search at his house in Daimler Close on April 3, officers from Stafford Neighbourhood Policing Team found 160 grams of cocaine and 1.1 kilograms of cannabis.
A drugs expert valued the cocaine and cannabis at around £18,200 – but could have been potentially much more if the cocaine was broken into street deals.
The cannabis and cocaine were found in supermarket carrier bags. Hayer, 30, said that white powder found in bulk in his garage was benzocaine – a known cutting agent for cocaine.
Officers also seized drugs bags and mobile phones with evidence of drugs transactions on them.
Hayer was found guilty of possession with intent to supply cocaine and cannabis at Stafford Crown Court on May 1.
On May 29, he was sentenced to three years for possessing cocaine with intent to supply and a further 12 months for the cannabis supply.
Sergeant Tom Fotherby, of Stafford Neighbourhood Policing Team, said: “The interception of the parcel led to a significant find of cannabis and cocaine.
"Working with colleagues from Border Force we were able to secure this conviction.”