Piwik\Mail\

Transport

Sends mails.

Methods

The class defines the following methods:

  • send() — Sends the given mail.

send()

Sends the given mail. Throws an exception if the mail could not be sent.

Signature

  • It accepts the following parameter(s):

    • $mail (Mail) — The mail to send.
  • Returns: bool — True if the mail was sent.