Tag Info

New answers tagged

3

I have figured it out. There were a bunch of issues with the existing code. The code wasn't getting $author_email appropriately which was causing it to fail and causing wp_mail() not to fire. add_action('comment_post', 'comment_email_notification', 11, 2); function comment_email_notification($comment_ID, $comment_approved) { $post_type = ...


4

Sending mass emails that actually get delivered is not a simple matter at all. Even if your code sends 1000 messages correctly, many if not most of them will get blocked or labeled as spam unless you comply with a long list of mass email best practices. (See also: The FTC's CAN-SPAM Act - Compliance Guide.) I recommend that you use (or study the code of) a ...



Top 50 recent answers are included