Filter: postie_email_notify_body

This filter is called before a success notification email is sent and can be used to modify the message body.

Parameters:
  • $body – a string that is the email body. The email is sent as text/plain so HTML is not supported.
  • $postemail – an array that represents the parsed email. See filter: postie_post_pre for more details.
  • $postid – the id of the post that has been created.
add_filter('postie_email_notify_body', 'my_postie_email_notify_body', 10, 3);

function my_postie_email_notify_body($body, $postemail, $postid) {
 return $body . "\nDieser Beitrag wurde abgelehnt";
}