Recipe 2: Sending Email from a command prompt in PHP

Introduction This article shows how to send a single email in PHP. We will build on this script in another article to expand its functionality to send bulk emails. Prerequisites Here are the prerequisites before you can run the script Make sure you have PHP installed on your system Download & Install composer (e.g. https://getcomposer.org/download/) Go to command prompt Create […]