Most Scripture scholars today point out that there is no scriptural basis for confusing the two women. Mary Magdalene, that is, of Magdala, was the one from whom Christ cast out seven demons (Luke 8:2)an indication, at the worst, of extreme demonic possession or, possibly, severe illness.
Father W.J. Harrington, O.P., writing in the New Catholic Commentary, says that seven demons does not mean that Mary had lived an immoral lifea conclusion reached only by means of a mistaken identification with the anonymous woman of Luke 7:36. Father Edward Mally, S.J., writing in the Jerome Biblical Commentary, agrees that she is not...the same as the sinner of Luke 7:37, despite the later Western romantic tradition about her.
Mary Magdalene was one of the many who were assisting them [Jesus and the Twelve] out of their means. She was one of those who stood by the cross of Jesus with his mother. And, of all the official witnesses that might have been chosen for the first awareness of the Resurrection, she was the one to whom that privilege was given.