Gregory Peckover, 32, had given his number to Detective Constable Adrian Hunter in December last year.
But the officer was left gobsmacked when he checked his phone after the Christmas break and found the message.
Police then raided Peckover’s father’s Warwickshire home and found over £3,000 of heroin.
The officers also recovered £13,901 in cash and a number of counterfeit notes with a face value of £1,580.
Astonishingly Peckover denied possessing heroin with intent to supply and possessing criminal property – claiming the text was a tip off about another dealer.
But a jury at Warwick Crown Court took just 43 minutes to find him guilty of both charges by unanimous verdicts on Friday.
Although he was cleared of another charge of possessing counterfeit notes, Peckover was jailed for a total of seven years.
Recorder Sam Mainds said: “I regard this as an overwhelming case, and this defendant has tried to cheat this jury.
“He lied his way through this case. He has been convicted in minutes on overwhelming evidence.
“I see no escape from giving him anything other than the minimum of seven years.”
But prosecutor Richard McConaghy said Peckover had told the probation service where he was living.
Mr McConaghy said when his offender manager visited the address in November Peckover’s father answered and got him out of bed.
Addressing Peckover’s defence, Mr McConaghy said: “It’s poppycock, isn’t it? He’s just trying to lie and wriggle his way out of the position.”
Peckover’s father Michael Peckover, 72, of Keys Hill, had also been facing the same charges, and had been due to stand trial with him.
But reports prepared by two psychiatrists concluded that he was suffering from dementia and was unfit to enter pleas or to stand trial.