TN Code § 39-17-308 (2021)
2021 Tennessee Code|Title 39 - Criminal Offenses|Chapter 17 - Offenses Against Public Health, Safety and Welfare|Part 3 - Disorderly Conduct and Riots|§ 39-17-308. Harassment

  A person commits an offense who intentionally:  Communicates a threat to another person, and the person communicating the threat:  Intends the communication to be a threat of harm to the victim; and   A reasonable person would perceive the communication to be a threat of harm;     Communicates with another person without lawful purpose, anonymously or otherwise, with the intent that the frequency or means of the communication annoys, offends, alarms, or frightens the recipient and, by this action, annoys, offends, alarms, or frightens the recipient;   Communicates to another person, with intent to harass that person, that a relative or other person has been injured or killed when the communication is known to be false; or   Communicates with another person or transmits or displays an image without legitimate purpose with the intent that the image is viewed by the victim by any method described in subdivision (a)(1) and the person:  Maliciously intends the communication to be a threat of harm to the victim; and   A reasonable person would perceive the communication to be a threat of harm.        A person convicted of a criminal offense commits an offense if, while incarcerated, on pretrial diversion, probation, community correction or parole, the person intentionally communicates in person with the victim of the person's crime if the communication is:  Anonymous or threatening or made in an offensively repetitious manner or at hours known to be inconvenient to the victim;   Made for no legitimate purpose; and   Made knowing that it will alarm or annoy the victim.     If the victim of the person's offense died as the result of the offense, this subsection (b) shall apply to the deceased victim's next-of-kin.      Except as provided in subsection (d), a violation of subsection (a) is a Class A misdemeanor.   A violation of subsection (b) is a Class E felony.     A violation by a minor of subdivision (a)(4) is a delinquent act and shall be punishable only by up to thirty (30) hours of community service, without compensation, for charitable or governmental agencies as determined by the court.   As used in this section:  “Communicate” means contacting a person in writing or print or by telephone, wire, radio, electromagnetic, photoelectronic, photooptical, or electronic means, and includes text messages, facsimile transmissions, electronic mail, instant messages, and messages, images, video, sound recordings, or intelligence of any nature sent through or posted on social networks, social media, or websites;   “Electronic communications service” means any transfer of signs, signals, writing, images, sounds, data, or intelligence of any nature transmitted in whole or in part by a wire, radio, electromagnetic, photoelectronic or photooptical system;   “Image” includes, but is not limited to, a visual depiction, video clip or photograph of another person;   “Log files” mean computer-generated lists that contain various types of information regarding the activities of a computer, including, but not limited to, time of access to certain records, processes running on a computer or the usage of certain computer resources; and   “Social network” means any online community of people who share interests and activities, or who are interested in exploring the interests and activities of others, and which provides ways for users to interact.      The offense described in this section shall not apply to an entity providing an electronic communications service to the public acting in the normal course of providing that service.   The service providers described in this subsection (f) shall not be required to maintain any record not otherwise kept in the ordinary course of that service provider's business; provided, however, that if any electronic communications service provider operates a website that offers a social network service and the electronic communications service provider provides services to consumers in this state, any log files and images or communications that have been sent, posted, or displayed on the social network service's website and maintained by the electronic communications service provider shall be disclosed to any governmental entity responsible for enforcing this section only if the governmental entity:  Obtains a warrant issued using this state's warrant procedures by a court of competent jurisdiction;   Obtains a court order for the disclosure under subdivision (f)(4); or   Has the consent of the person who sent, posted, or displayed any log files and images or communications on the social network service's website maintained by the electronic communications service provider.     No cause of action shall lie in any court against any provider of an electronic communications service, its officers, employees, agents, or other specified persons for providing information, facilities, or assistance in accordance with the terms of a court order or warrant.   A court order for disclosure under subdivision (f)(2)(B) may be issued by any court that is a court of competent jurisdiction and shall issue only if the governmental entity offers specific and articulable facts showing that there are reasonable grounds to believe that the contents of an electronic communication, or the records or other information sought, are relevant and material to an ongoing criminal investigation. A court order shall not issue if prohibited by the law of this state. A court issuing an order pursuant to this section, on a motion made promptly by the service provider, may quash or modify the order, if the information or records requested are unusually voluminous in nature or compliance with the order otherwise would cause an undue burden on the provider.