Heard about a similar case with a friend of mine.
She had some ulcers in the mouth and went to get tested, was told by her doc that it was cold sores, and that it was due to herpes infection.
Doc told her that she was contagious during the times that she had the mouth ulcers.
So yea, you can catch it from your boyfriend. Better get him checked out!!