SMTPHost = str_replace(',', '', $_ENV['SMTP_HOST'] ?? ''); $this->SMTPUser = str_replace(',', '', $_ENV['SMTP_USER'] ?? ''); $this->SMTPPass = str_replace(',', '', $_ENV['SMTP_PASS'] ?? ''); $this->SMTPPort = (int) str_replace(',', '', $_ENV['SMTP_PORT'] ?? '587'); } }