The direct approach is best. Ask when raises are normally given or if merit raises are given. This allows you to address the issue without asking directly for money.
While there is no problem with writing a letter requesting a salary increase, you would seem more confident if you actually talk to your boss regarding the issue.