Muslim man is not allowed to meet and chat with women who are not Mahram for him unless in emergency or medical or security necessity. No friendship is permissible between male and female out of the discipline of marriage either permanent or temporary. If they go to public places with their families and they meet there by incident and with out planning, they should avoid chatting and mixing with non Mahram.
Wassalam.