She wrote a letter thanking the teacher for the help.
Tips
register
致信 is formal/journalistic — common in news headlines about diplomatic correspondence (致信祝贺, 致信慰问, 致信感谢). The everyday verb 'to write a letter' is 写信 (xiěxìn). 致 here carries the formal sense 'to address / convey to.'