There are lots of ways to test email sending locally. My favorite for the last few years has been MailTrap.