A court in the western city of Innsbruck handed down the sentence Tuesday, court spokesman Thomas Lechner said.
Lawyer Andreas Grabenweger said his client will appeal the ruling.
Prosecutors said the woman, identified only as Heidemarie S., allegedly sent more than 100 letters to the American actor in pursuit of an autograph and then sent a death threat in 2007 when he refused to give her one.
A court-appointed psychiatrist testified earlier that the woman has a "profound personality disorder."
The woman, who is in her early 40s, twice failed to show up for her trial and was taken into custody last month after she was arrested in Mexico on immigration charges anddeported back to Austria.
Related Content from AccessHollywood.com:
VIEW THE PHOTOS: The Pregnant Ladies Of Primetime
PLAY IT NOW: Dish Of Salt: Danny Pino Talks 'Cold Case'
PLAY IT NOW: Dish Of Salt: 'True Blood' Cast Reveals Season Two Secrets