A Strabane man allegedly threatened to kill his ex-partner via social media.
The High Court heard yesterday that the man harassed the woman sending hundreds of messages.
The court heard the alleged offences began after he separated from the woman with whom he has a young child.
It included 645 blocked attempts at contact through the Blackberry messenger system.
The woman, who lives across the border fears Doherty may be capable of carrying out the alleged threats, the court heard.
She was said to base her concerns on past experience of his erratic behaviour and unstable state of mind.
The messages’ contents were shown to the judge Mr Justice Burgess who described them as appalling.
The judge, refusing bail, said he was in no doubt they would have “engendered a high level of fear.