You are here

public function MailhandlerFiltersComments::fetch in Mailhandler 7.2

Same name and namespace in other branches
  1. 6.2 plugins/mailhandler/filters/MailhandlerFiltersComments.class.php \MailhandlerFiltersComments::fetch()

Whether or not to fetch message, based on headers.

Parameters

array $header: Message headers

Return value

bool TRUE if comment, FALSE otherwise

Overrides MailhandlerFilters::fetch

File

plugins/mailhandler/filters/MailhandlerFiltersComments.class.php, line 20
MailhandlerFiltersComments class.

Class

MailhandlerFiltersComments
Filter to return comments.

Code

public function fetch($header) {
  return isset($header->in_reply_to);
}