• Hello,

    I would like to suggest adding the filter newsletter_message_headers or a similar filter to all the places where the plugin generates an email message. A good candidate would be to add it to the method mail on the class Newsletter, on line 985 (plugin.php) like this:

    $mailer_message->headers = apply_filters('newsletter_mail_headers', $mailer_message->headers, $mailer_message );

    This way I could add extra headers to the subscription/confirmation messages.

    My final goal is to tag all the messages generated by this plugin with a special header.

    Thank you

    • This topic was modified 4 years, 4 months ago by Luis Godinho.
Viewing 1 replies (of 1 total)
  • This is a great idea indeed. I would like to change the content of the confirmation/welcome email messages and a hook like this would be great!

Viewing 1 replies (of 1 total)
  • The topic ‘Hook newsletter_message_headers not available for subscription messages’ is closed to new replies.