In the boeken she does, but in the tv toon she might not for a while cos the toon is different than boeken . In this spoiler we can see that Elena is watching a movie from 1953 with stefan on it so maybe the "secret" will come out soon.
As the posts above have zei that she does find out in the books, is correct. In the toon I'm not sure. But obviously at some point she will. But I'm guessing it's pretty soon. door the looks of the new episode ' Your Undead to Me' it seems as if she is getting there. She might have found out. It would be so cool if she has. I wonder how she will react. I hope it isn't how Bella did. lol. Anyway but I hope I answered your question, even though people have done already. lol. x.