- Symphony 2.6.11
-
› assets
14 -
› boot
14 -
› core
23 -
› cryptography
4 -
› data-sources
6 -
› email-gateways
3 -
› events
3 -
› global
59 -
› interface
9 -
› toolkit
59 - Delegates92
- Deprecated27
Versions
- 2.7.9
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.3
- 2.7.2
- 2.7.10
- 2.7.1
- 2.7.0
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.11
- 2.6.10
- 2.6.1
- 2.6.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2
Options
EmailGateway SMTPGateway
public class SMTPGateway extends EmailGateway
email.smtp.php #13One of the two core email gateways. Provides simple SMTP functionalities. Supports AUTH LOGIN, SSL and TLS.
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.
boolean closeConnection()
Close the connection to the email Server. This function is used to allow persistent connections.
XMLElement getPreferencesPane()
Builds the preferences pane, shown in the Symphony backend.
boolean openConnection()
Open new connection to the email server. This function is used to allow persistent connections.
void reset()
Resets the headers, body, subject
boolean send()
Send an email using an SMTP server
void setAuth(
$auth)
Use AUTH login or no auth.
boolean setConfiguration(
$config)
Sets all configuration entries from an array.
Parameters
void setEnvelopeFrom(
$envelope_from)
Sets the envelope_from address. This is only available via the API, as it is an expert-only feature.
void setHeloHostname(
$helo_hostname)
Sets the HELO/EHLO hostanme
void setHost(
$host)
Sets the host to connect to.
Parameters
void setPass(
$pass)
Sets the password to use with AUTH LOGIN
void setPort(
$port)
Sets the port, used in the connection.
void setSecure(
$secure)
Sets the encryption used.
Parameters
void setUser(
$user)
Sets the username to use with AUTH LOGIN