WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
define('WBMAILER_SMTP_HOST', 'smtp.myhost.com');
function wbmailer() { // set method to send out emails if(defined('WBMAILER_SMTP_HOST')) { // sets Mailer to send messages using SMTP $this->IsSMTP(); $this->Host = WBMAILER_SMTP_HOST; // use STMP host defined in config.php
$this->SMTPAuth = true; // SMTP with authentification$this->Username = "mxxxxxxxx-x"; // SMTP-Username$this->Password = "xxxxxx"; // SMTP-Password
define('WBMAILER_SMTP_HOST', 'mail.example.com');define('WBMAILER_SMTP_SMTPAuth', 'true'); // SMTP with authentificationdefine('WBMAILER_SMTP_USERNAME', 'username'); // SMTP-Usernamedefine('WBMAILER_SMTP_PASSWORD', '*********'); // SMTP-Password
$this->SMTPAuth = WBMAILER_SMTP_SMTPAuth; // SMTP with authentification$this->Username = WBMAILER_SMTP_USERNAME; // SMTP-Username$this->Password = WBMAILER_SMTP_PASSWORD;
// sets Mailer to send messages using SMTP$this->IsSMTP(); $this->Host = WBMAILER_SMTP_HOST; // use STMP host defined in config.php$this->SMTPAuth = true; // SMTP with authentification$this->Username = "xxxx@yyyy.de"; // SMTP-Username$this->Password = "xxxx"; // SMTP-Password
FAQ habe ich gelesen und hat mich angeregt SMTP Auth zu verwenden, da ich mit meinem Standarmail Client NICHT ohne SMTP Auth arbeiten kann.
Die Konfiguration des WBMailers (host, authentification, username, password) ist für WB2.7 über das Administrationspane l (WB Backend Optionen) konfigurierbar. Siehe nachfolgende Abbildung.