23 public function adjust($firstMail, $secondMail)
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();
Class ilMailOptions this class handles user mails.
adjust($firstMail, $secondMail)
Validates the current instance settings and eventually adjusts these.
__construct(ilMailOptions $mailOptions)