A senior Melbourne lawyer has allegedly sent a female colleague photos of his erect penis and continuously bombarded her with unwelcome, sexually explicit text messages.

The lawyer, who works at a CBD legal firm, is facing accusations that he sexually harassed the woman over seven months last year.

The lawyer allegedly harassed the woman over seven months. Credit:Glenn Hunt

"I find you seriously hot … I'm thinking about you and your legs and everything else and it's driving me mad," he allegedly wrote in a text message

"Every time I look at you during the day I go crazy … I want your body."