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      1   <?php
     2      2   
     3      3   namespace Garradin;
     4      4   
     5      5   use KD2\Security;
     6      6   use KD2\Form;
     7      7   use KD2\Translate;
            8  +use KD2\SMTP;
     8      9   
     9     10   class Utils
    10     11   {
    11     12       static protected $skriv = null;
    12     13   
    13     14       static private $french_date_names = [
    14     15           'January'=>'Janvier', 'February'=>'Février', 'March'=>'Mars', 'April'=>'Avril', 'May'=>'Mai',
................................................................................
   438    439   
   439    440           $subject = '=?UTF-8?B?'.base64_encode($subject).'?=';
   440    441   
   441    442           if (is_array($to))
   442    443           {
   443    444               foreach ($to as $t)
   444    445               {
   445         -                if (!self::_sendMail($t, $suject, $content, $headers))
          446  +                if (!self::_sendMail($t, $subject, $content, $headers))
   446    447                   {
   447    448                       throw new \RuntimeException('Impossible d\'envoyer l\'email');
   448    449                   }
   449    450               }
   450    451           }
   451    452           else
   452    453           {