Accused sent text about killing Maidstone landlord - court