They’ll ban the entire device used to send it, not just the one account. But see also elsethread “wait, how do I know this was delivered over iMessage”, since MMS allows the From field to be an email address.
On the top of the first message it'll either say Text Message or iMessage. If it's an iMessage and you delete the thread without replying, it'll ask if you want to report the message as spam.