I would like to send customer a link to have their password reseted.
=> Code :
$customerFactory = $objectManager->get('\Magento\Customer\Model\CustomerFactory'); $customer=$customerFactory->create(); $customer->setWebsiteId(1); $customer->loadByEmail($email);// load customer by email address $data= $customer->getData(); print_r ($data);
However I cannot see any info here like a url that I can generate to then send to the customer.
Is there anyway to do this?