You are here

public function SMTPMailSystem::smtpMailerSend in SMTP Authentication Support 8

Wrapper around global static call to increase testability.

Parameters

array $mailerArr: Variables to send email.

Return value

bool TRUE if email was sent. FALSE otherwise.

See also

_smtp_mailer_send()

1 call to SMTPMailSystem::smtpMailerSend()
SMTPMailSystem::mail in src/Plugin/Mail/SMTPMailSystem.php
Send the e-mail message.
1 method overrides SMTPMailSystem::smtpMailerSend()
SMTPMailSystemTestHelper::smtpMailerSend in tests/src/Unit/Plugin/Mail/SMTPMailSystemTest.php
Dummy of smtpMailerSend.

File

src/Plugin/Mail/SMTPMailSystem.php, line 830

Class

SMTPMailSystem
Modify the drupal mail system to use smtp when sending emails.

Namespace

Drupal\smtp\Plugin\Mail

Code

public function smtpMailerSend(array $mailerArr) {
  return _smtp_mailer_send($mailerArr);
}