COLUMBIA, S.C. (AP) – The South Carolina Supreme Court has ruled a man’s privacy was not violated when his wife’s daughter-in-law managed to get into his email and find out the name of his lover because the messages remained in his inbox.

In their unanimous ruling Wednesday, the justices decided the woman did not violate a 1986 federal law about email storage and ruled a lawsuit from the husband could not go forward.