Apologies it was left out, that's edited now.
We've accepted it as an approximate answer but the completely correct answer is the one above using 'she has'
'She wrote to him' would be better translated as
either 'Ysgrifennodd hi ato fe' (South Wales)
'Mi wnaeth hi ysgrifennu ato fo' (North Wales)