PHP & E-Mail PHPMailer Version 6 erfolgreich einbinden - Druckversion +- PHP Rocks (https://www.php-rocks.de) +-- Forum: PHP Programmierung (https://www.php-rocks.de/https://www.php-rocks.de/forum/1-php-programmierung.html) +--- Forum: PHP Basics (https://www.php-rocks.de/https://www.php-rocks.de/forum/2-php-basics.html) +--- Thema: PHP & E-Mail PHPMailer Version 6 erfolgreich einbinden (/https://www.php-rocks.de/thema/334-re-php-e-mail-phpmailer-version-6-erfolgreich-einbinden.html) |
PHP & E-Mail PHPMailer Version 6 erfolgreich einbinden - fischer1000 - 11.11.2018 Schaffe die Einbindung nicht und verstehe offenbar auch die use Befehle nicht ganz: use PHPMailer\PHPMailer\PHPMailer; use PHPMailer\PHPMailer\Exception; require __DIR__ . '/PHPMailer/src/Exception.php'; require __DIR__ . '/PHPMailer/src/PHPMailer.php'; require __DIR__ . '/PHPMailer/src/SMTP.php'; Kriege dann die Fehlermeldung: Parse error: syntax error, unexpected 'use' (T_USE) in /nhldata/905/95905/data/web/Zeltplatz2016/htdocs/OIS/rechnung/pdferstellen.php on line 712 RE: PHP & E-Mail PHPMailer Version 6 erfolgreich einbinden - Arne Drews - 13.11.2018 Hi, Entschuldige die späte Antwort. Es sieht danach aus, dass ein Syntax-Fehler unmittelbar vor einem use existiert.Zeig uns doch bitte mal den Block um Zeile 712 ( +/- 5 Zeilen in etwa ) aus der pdferstellen.php |