1 <?php declare(strict_types=1);
27 public function adjust(
string $firstMail,
string $secondMail) : void
33 $hasFirstEmail = strlen($firstMail) > 0;
34 $hasSecondEmail = strlen($secondMail) > 0;
36 if (!$hasFirstEmail && !$hasSecondEmail) {
38 $this->mailOptions->updateOptions();
44 $this->mailOptions->updateOptions();
50 $this->mailOptions->updateOptions();
Class ilMailOptions this class handles user mails.
adjust(string $firstMail, string $secondMail)
Validates the current instance settings and eventually adjusts these.
__construct(ilMailOptions $mailOptions)
ilMailTransportSettings constructor.