The following snippet will let you notify members on new posts in WordPress.

Snippet Source/Credit: WordPress Codex