action: postie_raw

This action is called when Postie retrieves an email from the server.

Parameters:

  • $rawEmail

The $rawEmail parameter the email as retrieved from the server. Note you can’t make changes to the email at this point.

Example

add_action('postie_raw', 'my_postie_raw');

function my_postie_raw($rawemail) {
    //Do something
}