Hirdetés
- iPhone topik
- Megbüntették, ezért feloszlatná az EU-t Elon Musk
- Samsung Galaxy S23 és S23+ - ami belül van, az számít igazán
- iOS alkalmazások
- Xiaomi 14T Pro - teljes a család?
- Minden a BlackBerry telefonokról és rendszerről
- Töltő már van a Galaxy S26 Ultrához
- Apple iPhone 17 - alap
- Apple Watch
- Ezek a OnePlus 12 és 12R európai árai
Ú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
- PC konfig /Ryzen 7 9800X3D, 32GB RAM, 1TB SSD/ akciós áron eladó! BeszámítOK!
- Vásárlunk iPhone 12/12 Mini/12 Pro/12 Pro Max
- Xiaomi Redmi Note 13 Pro 5G 256GB, Kártyafüggetlen, 1 Év Garanciával
- GYÖNYÖRŰ iPhone 13 mini 128GB Midnight -1 ÉV GARANCIA - Kártyafüggetlen, MS4076
- BESZÁMÍTÁS! MSI Thin GF63 12VF-1279XHU Gamer notebook-i5 12450H 16GB DDR4 512GB SSD RTX 4060 8GB W11
Állásajánlatok
Cég: ATW Internet Kft.
Város: Budapest
Cég: PCMENTOR SZERVIZ KFT.
Város: Budapest


