_config = $config; } /** * Create a new instance of the current mail driver, using the given settings. * * @param array $config * @return object */ public static function getInstance(array $config) { return new static($config); } /** * Get the human-readable name of this mail driver. * * @return string */ public static function getName() { return class_basename(get_called_class()); } /** * Get the list of configuration fields required by this mail driver. * * @return array */ public static function getRequiredConfig() { return array(); } /** * Get the list of API types supported by this mail driver. * * @return array */ public static function getAPITypes() { return array(); } /** * Get the SPF hint. * * @return string */ public static function getSPFHint() { return ''; } /** * Get the DKIM hint. * * @return string */ public static function getDKIMHint() { return ''; } /** * Check if the current mail driver is supported on this server. * * This method returns true on success and false on failure. * * @return bool */ public static function isSupported() { return false; } /** * Send a message. * * This method returns true on success and false on failure. * * @param object $message * @return bool */ public function send(\Rhymix\Framework\Mail $message) { return false; } }