Zend\Mail\Transport\SmtpOptions
Synopsis
class SmtpOptions
extends AbstractOptions
{
- // members
- protected string $name;
- protected string $connectionClass;
- protected array $connectionConfig;
- protected string $host;
- protected integer $port;
- // Inherited members from AbstractOptions
- protected bool $__strictMode__;
- // methods
- public string getName()
- public SmtpOptions setName()
- public string getConnectionClass()
- public SmtpOptions setConnectionClass()
- public array getConnectionConfig()
- public SmtpOptions setConnectionConfig()
- public string getHost()
- public SmtpOptions setHost()
- public int getPort()
- public SmtpOptions setPort()
- // Inherited methods from AbstractOptions
- public void __construct()
- public AbstractOptions setFromArray()
- public array toArray()
- public void __set()
- public mixed __get()
- public bool __isset()
- public void __unset()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
62+ | hostname/IP validation |
146+ | hostname/IP validation |
Members
protected
- $__strictMode__
—
Zend\Stdlib\bool
We use the __ prefix to avoid collisions with properties in user-implementations. - $connectionClass — string
- $connectionConfig
—
array
Connection configuration (passed to the underlying Protocol class) - $host — string
- $name — string
- $port — int
Methods
public
- getConnectionClass() — Get connection class
- getConnectionConfig() — Get connection configuration array
- getHost() — Get the host name
- getName() — Return the local client hostname
- getPort() — Get the port the SMTP server runs on
- setConnectionClass() — Set connection class
- setConnectionConfig() — Set connection configuration array
- setHost() — Set the SMTP host
- setName() — Set the local client hostname or IP
- setPort() — Set the port the SMTP server runs on