Annoying e-mails offering home-financing deals or other offers can violate Maryland law, even if they’re sent from out of state, a state appeals court judge ruled.

Court of Special Appeals Judge Sally D. Adkins rejected an argument by a New York state marketer who said he could not be punished for violating Maryland law because he had no way of knowing whether his e-mails would be opened in Maryland.