The message was received by schools in areas including Glasgow, Edinburgh and East Renfrewshire.