Mail_Postmark::send
Sends the e-mail. Prints debug output if debug mode is turned on
Options: returnMessageId
Signature
public function send([array
$options = ] )
Parameters
$options
— array
Returns
- boolean
- - True if success and $returnID is false.
Errors/Exceptions
-
Exception
- If HTTP code 422, Exception with API error code and Postmark message, otherwise HTTP code.
-
BadMethodCallException
- If From address, To address or Subject is missing