This question already has an answer here:
I am facing the problem that my paper was rejected form a journal (with the option to resubmit to the same journal again), where two reviews were provided.
The first review was well written, constructive and shows that the main parts of the paper were read and understood. Nevertheless, the first reviewer suggests to "Review Again After Major Changes".
The second review (who rejected the paper) on the other hand shows clearly that he neither read the paper nor the references listed in the related works section or any background material on that subject (as referenced in the paper or readily available online). Moreover, the review is filled with spelling mistakes, wrong references/citations and wrong claims. In essence, it gives the impression that it was written in a hurry without proper review of paper. But most importantly, the reviewer expects comparisons to concepts with are completely out of date and partly do not fit the discussed scenario.
I am currently preparing a resubmission to the same journal, which will most probably be handled by the same editor and reviewers. My questions is concerning the handling of the second review in the response letter in general and whether it is appropriate to contact the editor right now (few days after the receiving the rejection), shortly before or after the resubmission or not all regarding the review provided by the second reviewer.