Overview
Comment:Correction envoi mails en masse, patch fourni par @nebuchadnezzar
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | dev
Files: files | file ages | folders
SHA1: 82dfe8b4817f9b293d8827107378e1f4dfc5285f
User & Date: bohwaz on 2017-08-08 00:01:11
Other Links: branch diff | manifest | tags
Context
2017-08-09
05:02
Modernisation installation, renomme repasse en passe_confirmed check-in: d71d56990e user: bohwaz tags: dev
2017-08-08
00:01
Correction envoi mails en masse, patch fourni par @nebuchadnezzar check-in: 82dfe8b481 user: bohwaz tags: dev
2017-08-04
07:01
Augmenter max-height car les sélecteurs à choix multiple peuvent être plus longs que 1000px check-in: 638984bc15 user: bohwaz tags: dev
Changes

Modified src/include/lib/Garradin/Utils.php from [abf5be7fb1] to [72549dd72f].

1
2
3
4
5
6
7

8
9
10
11
12
13
14
...
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
<?php

namespace Garradin;

use KD2\Security;
use KD2\Form;
use KD2\Translate;


class Utils
{
    static protected $skriv = null;

    static private $french_date_names = [
        'January'=>'Janvier', 'February'=>'Février', 'March'=>'Mars', 'April'=>'Avril', 'May'=>'Mai',
................................................................................

        $subject = '=?UTF-8?B?'.base64_encode($subject).'?=';

        if (is_array($to))
        {
            foreach ($to as $t)
            {
                if (!self::_sendMail($t, $suject, $content, $headers))
                {
                    throw new \RuntimeException('Impossible d\'envoyer l\'email');
                }
            }
        }
        else
        {







>







 







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
...
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
<?php

namespace Garradin;

use KD2\Security;
use KD2\Form;
use KD2\Translate;
use KD2\SMTP;

class Utils
{
    static protected $skriv = null;

    static private $french_date_names = [
        'January'=>'Janvier', 'February'=>'Février', 'March'=>'Mars', 'April'=>'Avril', 'May'=>'Mai',
................................................................................

        $subject = '=?UTF-8?B?'.base64_encode($subject).'?=';

        if (is_array($to))
        {
            foreach ($to as $t)
            {
                if (!self::_sendMail($t, $subject, $content, $headers))
                {
                    throw new \RuntimeException('Impossible d\'envoyer l\'email');
                }
            }
        }
        else
        {