public abstract class Email #17

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


public static #32
static EmailGateway create(string $gateway)

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

  • $gateway stringThe 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