A high school coach in the north Fulton area is off the job after he sent — accidentally, he said — an inappropriate text message to a student.

Miles Martin, the baseball coach at Cambridge High in Milton, quit before Fulton County Schools could let him go, Channel 2 Action News reported.

The message was meant for a friend, Channel 2 reported. However, another student photographed the text, put it on Snapchat and sent it to friends.

School district officials said it was a rules violation, and one school booster said Martin got a raw deal.

School district officials said, “... Mr. Martin displayed poor judgement in sending the text message” and that he “failed to report the incident to school administration and follow FCS Employee Handbook on private social media.”

Martin told Channel 2 in a statement, “I made an error when sending a personal and private message to a trusted friend; to be clear, it was an error and not an error in judgment that resulted in the message being delivered to a student.

“I immediately communicated my error to the individual and he acknowledged that the message wasn’t meant for him.”

One parent of a student thinks Martin acted improperly.

“My first thought is, why does he have that student’s number to begin with?” AnneMarie Oxyer told Channel 2. “He should never have a student's phone number. Very inappropriate."

However, longtime Cambridge booster John Schafer thinks Martin was treated improperly.

“Unfortunately, the student's first name is the same as his best friend's first name,” John Schafer said. “He meant to send it to his friend.”

In other news:

Eight people died and 12 others were injured.