Recent Posts

Pages: [1] 2 3 ... 10
1
General Help & Support / Re: wbmailer problem
« Last post by crnogorac081 on Today at 07:25:35 PM »
I made it work, now mails are sending this is the code I am using:


Code: [Select]

$send_to_email = 'sendto@thisemail.com';

$subject = preg_replace('/[\r\n]/', '', $subject);
$htmlmessage = preg_replace('/[\r\n]/', "<br />\n", $message);
$plaintext = preg_replace(",<br />,", "\r\n", $message);
$plaintext = preg_replace(",</h.>,", "\r\n", $plaintext);
$plaintext = htmlspecialchars_decode(preg_replace(",</?\w+>,", " ", $plaintext), ENT_NOQUOTES);

    // create PHPMailer object and define default settings
    $mail = new wbmailer();

    //Server settings
    $mail->SMTPDebug = 2;                                 // Enable verbose debug output
    $mail->isSMTP();                                      // Set mailer to use SMTP
    $mail->Host = 'mail.mydomain.me';   // Specify main and backup SMTP servers
    $mail->SMTPAuth = true;                               // Enable SMTP authentication
    $mail->Username = 'info@mydomain.me';                 // SMTP username
    $mail->Password = 'mypass';                           // SMTP password
    $mail->SMTPSecure = 'tls';                            // Enable TLS encryption, `ssl` also accepted
    $mail->Port = 587;                                    // TCP port to connect to

    //Recipients
    $mail->setFrom('info@mydomain.me', 'Hello from website');

// define recipient(s)


$emails = explode(",", $send_to_email);
foreach ($emails as $recip) {
if (trim($recip) != '')
$mail->AddAddress(trim($recip));                      // TO:
}


    $mail->addReplyTo('info@mydomain.me', 'Info');

    //Content
    $mail->isHTML(true);                                  // Set email format to HTML
    $mail->Subject = $subject;
    $mail->Body    = $htmlmessage;
    $mail->AltBody = $plaintext;

    $mail->send();

The mails are sending but I am recieving this error in error log:

Code: [Select]
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 220-cp-uk-2.webhostbox.net ESMTP Exim 4.92 #2 Mon, 15 Jul 2019 17:11:16 +0000
220-We do not authorize the use of this system to transport unsolicited,
220 and/or bulk e-mail.
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: EHLO www.mydomain.me
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 250-cp-uk-2.webhostbox.net Hello www.mydomain.me [5.100.154.160]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: STARTTLS
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 220 TLS go ahead
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: EHLO www.mydomain.me
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 250-cp-uk-2.webhostbox.net Hello www.mydomain.me [5.100.154.160]
250-SIZE 52428800
250-8BITMIME
250-PIPELINING
250-AUTH PLAIN LOGIN
250 HELP
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: AUTH LOGIN
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 334 VXNlcm5hbWU6
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: bmUtb2Rnb3ZhcmFqQGRlbnRhbG1vbnRlbmVncm8ubWU=
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 334 UGFzc3dvcmQ6
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: bjNvZGcwdnJ5
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 235 Authentication succeeded
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: MAIL FROM:
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 250 OK
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: RCPT TO:
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 250 Accepted
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: DATA
[15-Jul-2019 17:11:16 Etc/UTC] SERVER -> CLIENT: 354 Enter message, ending with "." on a line by itself
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Date: Mon, 15 Jul 2019 17:11:16 +0000
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: To: sendto@thisemail.com
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: From: Name from above
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Reply-To: Info
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Subject: Subject text
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Message-ID: <07a0925e43379dc97e2d54c261ad14ae@www.mydomain.me>
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: X-Mailer: PHPMailer 5.2.27 (https://github.com/PHPMailer/PHPMailer)
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: MIME-Version: 1.0
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Content-Type: multipart/alternative;
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: tboundary="b1_07a0925e43379dc97e2d54c261ad14ae"
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Content-Transfer-Encoding: 8bit
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: This is a multi-part message in MIME format.
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: --b1_07a0925e43379dc97e2d54c261ad14ae
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Content-Type: text/plain; charset=us-ascii
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: plain text
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: --b1_07a0925e43379dc97e2d54c261ad14ae
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: Content-Type: text/html; charset=us-ascii
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: html text
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: --b1_07a0925e43379dc97e2d54c261ad14ae--
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER:
[15-Jul-2019 17:11:16 Etc/UTC] CLIENT -> SERVER: .
[15-Jul-2019 17:11:23 Etc/UTC] SERVER -> CLIENT: 250 OK id=1hn4VQ-00079Q-Fl
[15-Jul-2019 17:11:23 Etc/UTC] CLIENT -> SERVER: QUIT
[15-Jul-2019 17:11:23 Etc/UTC] SERVER -> CLIENT: 221 cp-uk-2.webhostbox.net closing connection"

I would like to get rid of errors in the log..
2
General Help & Support / Re: wbmailer problem
« Last post by DarkViper on Today at 12:44:45 AM »
It looks like the PHPmailer has not been loaded.
Please follow these steps in exactly order:
  • Check if the file include/PHPMailer/PHPMailerAutoload.php exists
  • Modify Line: 31 from spl_autoload_register('PHPMailerAutoload'truetrue);
    to spl_autoload_register('PHPMailerAutoload'true);
  • Check if the files class.phpmailer.php and class.smtp.php exists in the same folder.
  • Check framework/initialize.php   from line: 393
    // register PHPMailer autoloader ---------------------------------------------------------
        
    $sTmp = (\dirname(__DIR__)).'/include/PHPMailer/PHPMailerAutoload.php';
        if (!\
    function_exists('PHPMailerAutoload') && \is_readable($sTmp)) {
            include 
    $sTmp;
        }
If there are any uncertainties at points 1, 2 or 3, then re-upload the directory include/PHPMailer/.
If all these points are in order, the error should normally be resolved.

3
General Help & Support / wbmailer problem
« Last post by crnogorac081 on July 14, 2019, 10:38:01 PM »
Im getting this error in console when trying to send mail:

Code: [Select]
There was an uncatched exception<br />
Class 'PHPMailer' not found<br />
in line (29) of (/framework/class.wbmailer.php):<br />

wb 2.12.2. Anyone know what is happening ?
4
General Announcements / Re: Failures due to server maintenance!
« Last post by DarkViper on July 13, 2019, 12:39:35 PM »
Maintenance completed
5
Modules / Re: Rating / reviews
« Last post by johnbroeckaert on July 12, 2019, 10:27:46 PM »
Please ask @ruud o his page ;-(
6
Hilfe & Support (deutsch) / Re: Massive Probleme nach Update auf WB 2.12.1
« Last post by rjscd on July 12, 2019, 04:31:03 PM »
Quote
Was die Umstellung von PHP auf SMTP bei den E-Mails betrifft, da muss ich mir die Daten wohl erst vom Hoster holen.

Code: [Select]
https://www.webhoster.ag/email/
https://www.webhostone.de/de/faq-e-mail/welche-einstellungen-muss-ich-bei-meinem-e-mail-programm-taetigen.html

https://anleitung.webhoster.ag/
https://anleitung.webhoster.ag/page/2/
https://anleitung.webhoster.ag/thunderbird-2-und-3-emailversand-einrichten/
Hier sind die Daten für den SMTP- Eintrag zu finden.
Mfg. Evaki

Danke für die Links!
7
Hilfe & Support (deutsch) / Re: Massive Probleme nach Update auf WB 2.12.1
« Last post by rjscd on July 12, 2019, 04:24:43 PM »
Ich habe den Outputfilter entsprechend umgestellt. Aber es hat sich leider nichts getan.

schaut mal unter AdminTools -> Droplets, ob dieses Droplet "NextPage" überhaupt vorhanden ist

Ja, ist vorhanden und aktiv. Danke für den Tipp.
8
Hilfe & Support (deutsch) / Re: List Header
« Last post by evaki on July 12, 2019, 11:33:17 AM »
Man kann das Thema ein wenig vertiefen, mit Optionen wie
header_remove
php.net/header_remove

header_register_callback
php.net/manual/de/function.header-register-callback.php

fake header
forum.WebsiteBaker. org/index.php/topic,31519.msg220570.html#msg220570

Wie man verschlüsselte Nachrichten auch ohne SSL an den Mann bringen kann, dürfte schnell einleuchten.

MfG. Evaki
9
Hilfe & Support (deutsch) / Re: RSS und OFA
« Last post by astricia on July 12, 2019, 09:36:38 AM »
Schreib mir mal ne Mail, wir werden uns schon einig. :-)
10
Hilfe & Support (deutsch) / Re: Massive Probleme nach Update auf WB 2.12.1
« Last post by jacobi22 on July 11, 2019, 08:05:01 PM »
Ich habe den Outputfilter entsprechend umgestellt. Aber es hat sich leider nichts getan.

schaut mal unter AdminTools -> Droplets, ob dieses Droplet "NextPage" überhaupt vorhanden ist
Pages: [1] 2 3 ... 10