You can create a COOKIE generated by your WebApp and use something like:   

        // COOKIE must be serialized and user data in format
        // username:_:usermail
   
    $autokuki = 'MyAPP_COOKIE_NAME';
    $srvusr = @unserialize($_COOKIE[$autokuki]);
    if (strlen($srvusr) > 1) {
        $srvusrarr = explode(":_:",$srvusr);
        $_SESSION['lcUser'] = $srvusrarr[0];
    }

Paste this code in the index.php of the line immediately after: session_regenerate_id ();

2

(3 replies, posted in Problems)

For the first time I noticed the problem in the file luxcal.log from date 02-09-2021. Previously, SMTP sent messages normally.
I guess some servers (gmail, msn and others) have changed their security policies.
I personally tested it only with letters to Gmail

I was using version 5.1.1L-b2 when this error occurred.
I upgraded to a clean version 5.1.1M, but the problem still has it.
Note that when testing with smtptest.php SMTP works normally and send emails to Gmail!

I guess the problem is in the smtpMail function, but I couldn't find it ... for now.

3

(3 replies, posted in Problems)

When configuring to send messages via SMTP, the following error has recently occurred:

mycal:ERROR Script: index php - SMTP mail to mymail{at}gmail com failed.
DATA string: SMTP server reply: 451
Reason : You can't get mail through to MSN and thousands of other systems around the Internet. Your mailer is violating 822bis section 2.3, which specifically prohibits all bare LFs.

The problem is with both versions - MySQL and SQLite.
There are no problems when using PHP Mail.

There is no problem when checking with smtptest.php from Toolbox !