mailer.php
public function initSMTP() {
		/** @var \Base $f3 */
		$f3 = \Base::instance();
		$this->smtp = new \SMTP(
			$f3->get('mailer.smtp.host'),
			$f3->get('mailer.smtp.port'),
			$f3->get('mailer.smtp.scheme'),
			$f3->get('mailer.smtp.user'),
			$f3->get('mailer.smtp.pw'));
		if (!$f3->devoid('mailer.errors_to',$errors_to))
			$this->setErrors($errors_to);
		if (!$f3->devoid('mailer.reply_to',$reply_to))
			$this->setReply($reply_to);
		if (!$f3->devoid('mailer.from_mail',$from_mail)) {
			if ($f3->devoid('mailer.from_name',$from_name))
				$from_name = NULL;
			$this->setFrom($from_mail, $from_name);
		}
	}
public function initSMTP() {
		/** @var \Base $f3 */
		$f3 = \Base::instance();
		$this->smtp = new \SMTP(
			$f3->get('mailer.smtp.host'),
			$f3->get('mailer.smtp.port'),
			$f3->get('mailer.smtp.scheme'),
			$f3->get('mailer.smtp.user'),
			$f3->get('mailer.smtp.pw'));
		if (!$f3->devoid('mailer.errors_to',$errors_to))
			$this->setErrors($errors_to);
		if (!$f3->devoid('mailer.reply_to',$reply_to))
			$this->setReply($reply_to);
		if (!$f3->devoid('mailer.from_mail',$from_mail)) {
			if ($f3->devoid('mailer.from_name',$from_name))
				$from_name = NULL;
			$this->setFrom($from_mail, $from_name);
		}
	}
initialize SMTP plugin