Three men were arrested Thursday after allegedly sending a series of unprompted text messages to an Orleans police officer offering to sell him drugs.

Officers took the sender up on his offer, met him in a Dunkin’ Donuts parking lot, and arrested him, according to a statement from the police.

Detective Sergeant Andrew McLaughlin started receiving the text messages and phone calls on Sept. 29 on his Orleans Police Department cellphone. The caller, who police said was dialing the wrong number, referred to McLaughlin as “Mike,” and wanted to know if he wanted to purchase narcotics, according to the statement.