EmailGateway SendmailGateway

public class SendmailGateway extends EmailGateway

email.sendmail.php #11

The basic gateway sending emails using Sendmail, php's mail function.

Methods

void __construct()

Constructor. Sets basic default values based on preferences.

static array about()

Returns the name, used in the dropdown menu in the preferences pane.

XMLElement getPreferencesPane()

Builds the preferences pane, shown in the symphony backend.

bool send()

Send an email using the PHP mail() function

Please note that 'encoded-words' should be used according to RFC2047. Basically this means that the subject should be encoded if necessary, as well as (real) names in 'From', 'To' or 'Reply-To' header field bodies. For details see RFC2047.

The parts of a message body should be encoded (quoted-printable or base64) to make non-US-ASCII text work with the widest range of email transports and clients.

boolean setConfiguration(array $config)

Sets all configuration entries from an array.

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