◆ __construct()
ilMailTransportSettings::__construct |
( |
ilMailOptions |
$mailOptions | ) |
|
◆ adjust()
ilMailTransportSettings::adjust |
( |
|
$firstMail, |
|
|
|
$secondMail |
|
) |
| |
Validates the current instance settings and eventually adjusts these.
- Parameters
-
string | $firstMail | |
string | $secondMail | |
- Returns
- int|string|void
Definition at line 23 of file class.ilMailTransportSettings.php.
References ilMailOptions\FIRST_EMAIL, ilMailOptions\INCOMING_LOCAL, and ilMailOptions\SECOND_EMAIL.
29 $hasFirstEmail = strlen($firstMail);
30 $hasSecondEmail = strlen($secondMail);
32 if (!$hasFirstEmail && !$hasSecondEmail) {
34 return $this->mailOptions->updateOptions();
39 return $this->mailOptions->updateOptions();
44 return $this->mailOptions->updateOptions();
◆ $mailOptions
ilMailTransportSettings::$mailOptions |
|
private |
The documentation for this class was generated from the following file: