public abstract class Email

class.email.php #18

The Email class is a factory class to make it possible to send emails using different gateways.

Methods

EmailGateway create()

Returns the EmailGateway to send emails with. Calling this function multiple times will return unique objects.

Parameters
  • $gateway The name of the gateway to use. Please only supply if specific gateway functions are being used. If the gateway is not found, it will throw an EmailException

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.3-5.6 or 7.0-7.3
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.5 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details