Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorMailImplementationAmazonSESAdapter

final class PhabricatorMailImplementationAmazonSESAdapter
Phabricator Technical Documentation (MetaMTA)

This class is not documented.

Methods

final public function getAdapterType()
Inherited

This method is not documented.
Return
wild

final public static function getAllAdapters()
Inherited

This method is not documented.
Return
wild

public function setFrom($email, $name)
Inherited

This method is not documented.
Parameters
$email
$name
Return
wild

public function addReplyTo($email, $name)
Inherited

This method is not documented.
Parameters
$email
$name
Return
wild

public function addTos($emails)
Inherited

This method is not documented.
Parameters
array$emails
Return
wild

public function addCCs($emails)
Inherited

This method is not documented.
Parameters
array$emails
Return
wild

public function addAttachment($data, $filename, $mimetype)
Inherited

This method is not documented.
Parameters
$data
$filename
$mimetype
Return
wild

public function addHeader($header_name, $header_value)
Inherited

This method is not documented.
Parameters
$header_name
$header_value
Return
wild

public function setBody($body)
Inherited

This method is not documented.
Parameters
$plaintext_body
Return
wild

public function setHTMLBody($html_body)
Inherited

PhabricatorMailImplementationPHPMailerLiteAdapter

Note: phpmailer-lite does NOT support sending messages with mixed version (plaintext and html). So for now lets just use HTML if it's available.

Parameters
$html_body
Return
wild

public function setSubject($subject)
Inherited

This method is not documented.
Parameters
$subject
Return
wild

public function supportsMessageIDHeader()

PhabricatorMailImplementationAdapter

Some mailers, notably Amazon SES, do not support us setting a specific Message-ID header.

PhabricatorMailImplementationAmazonSESAdapter
This method is not documented.
Return
wild

public function send()
Inherited

PhabricatorMailImplementationAdapter

Send the message. Generally, this means connecting to some service and handing data to it.

If the adapter determines that the mail will never be deliverable, it should throw a PhabricatorMetaMTAPermanentFailureException.

For temporary failures, throw some other exception or return false.

Return
boolTrue on success.

final public function setKey($key)
Inherited

This method is not documented.
Parameters
$key
Return
wild

final public function getKey()
Inherited

This method is not documented.
Return
wild

final public function setPriority($priority)
Inherited

This method is not documented.
Parameters
$priority
Return
wild

final public function getPriority()
Inherited

This method is not documented.
Return
wild

final public function getOption($key)
Inherited

This method is not documented.
Parameters
$key
Return
wild

final public function setOptions($options)
Inherited

This method is not documented.
Parameters
array$options
Return
wild

protected function validateOptions($options)

This method is not documented.
Parameters
array$options
Return
wild

public function newDefaultOptions()

This method is not documented.
Return
wild

public function newLegacyOptions()

This method is not documented.
Return
wild

public function prepareForSend()

This method is not documented.
Return
wild

protected function renderAddress($email, $name)
Inherited

This method is not documented.
Parameters
$email
$name
Return
wild

public function hasValidRecipients()
Inherited

This method is not documented.
Return
wild

public function executeSend($body)

This method is not documented.
Parameters
$body
Return
wild