Hirdetés
Új hozzászólás Aktív témák
-
radi8tor
MODERÁTOR
Kis segítség jól jönne, hogy akkor ezt mire módosítsam?
public function send() {
$this->_sendPhpMailer();
}
public function _send() {
$this->_sendPhpMailer();
if ($this->emailtemplate) {
$data = get_object_vars($this);
$this->emailtemplate->sent($data);
}
}
private function _send() {
if (!$this->to) {
throw new \Exception('Error: E-Mail to required!');
}
if (!$this->from) {
throw new \Exception('Error: E-Mail from required!');
}
if (!$this->sender) {
throw new \Exception('Error: E-Mail sender required!');
}
if (!$this->subject) {
throw new \Exception('Error: E-Mail subject required!');
}
if ((!$this->text) && (!$this->html)) {
throw new \Exception('Error: E-Mail message required!');
}
foreach (get_object_vars($this) as $key => $value) {
$this->adaptor->$key = $value;
}
$this->adaptor->send();
}
Új hozzászólás Aktív témák
- Kerékpárosok, bringások ide!
- Azonnali VGA-s kérdések órája
- Milyen okostelefont vegyek?
- Jogász topic
- NVIDIA GeForce RTX 3080 / 3090 / Ti (GA102)
- RAM topik
- REpont és hulladékgazdálkodás
- IFA 2025: Nem is látszik, hogy strapatelefon
- TCL LCD és LED TV-k
- Google Pixel 10 Pro XL – tíz kicsi Pixel
- További aktív témák...
- Honor 200 Lite 256GB, Kártyafüggetlen, 1 Év Garanciával
- GYÖNYÖRŰ iPhone 15 Pro 256GB Natural Titanium -1 ÉV GARANCIA - Kártyafüggetlen, MS3282
- LG 27GN800P - 27" IPS - 2560x1440 - 144 hz 1ms - NVIDIA G-Sync - AMD FreeSync - HDR 10
- GYÖNYÖRŰ iPhone SE 2022 64GB White -1 ÉV GARANCIA - Kártyafüggetlen, MS3366
- BESZÁMÍTÁS! MSI Z87-G43 GAMING Z87 chipset alaplap garanciával hibátlan működéssel
Állásajánlatok
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest
Cég: CAMERA-PRO Hungary Kft.
Város: Budapest