You are here

public function MigrateMailIgnore::mail in Migrate 7.2

On an email request, do nothing and say we did.

Parameters

$message: A message array, as described in hook_mail_alter().

Return value

TRUE if the mail was successfully accepted, otherwise FALSE.

Overrides DefaultMailSystem::mail

See also

http://php.net/manual/en/function.mail.php

drupal_mail()

File

./migrate.mail.inc, line 22
Null-op mail class, to keep migration from spamming innocent users.

Class

MigrateMailIgnore
@file Null-op mail class, to keep migration from spamming innocent users.

Code

public function mail(array $message) {
  return TRUE;
}