This is not a comment about this case specifically.
If you have sex with somebody without their consent, it doesn't matter how many times previously they have sent you messages of love and admiration, how many times they have previously had consensual sex with you, if, on this occasion, they said no, it is still rape.
This is a comment about this case.
So the police had 40,000 messages attesting to the alleged victim's enjoyment of sex with the accused, it doesn't matter, if she said no on that one occasion, it is rape.
If she didn't say anything or give any indication of non consent, given their previous history, I guess the man could assume consent. Although, I'm bound to say that 40,000 messages sounds rather stalker-ish to me.