The title of this particular article is somewhat misleading as it has nothing to do with sending an email upon creating a new post in WordPress, but actually whenever the HTTP `POST` action has occurred.
Additionally, the methodology describing below isn’t relegated to just sending emails – it can be used when any data needs to be managed upon a `POST` request. This includes sending emails, serializing data to the database, evaluating information to be presented on the next page view, or whatever else.
Of course, one of the best ways to actually demonstrate how to do something is to give some practical example, so for all intents and possible, I’m going to show how to structure a project using the event-driven model of WordPress to send an email upon a `POST` request.
