Overview
SHA1:e3fc01b49c5788fd3f8f2a81dbf49a969b184d55
Date: 2018-10-05 17:26:56
User: bohwaz
Comment:D├ęcommenter envoi de mail (faute de commit)
Timelines: family | ancestors | descendants | both | dev
Downloads: Tarball | ZIP archive
Other Links: files | file ages | folders | manifest
Tags And Properties
Context
2018-10-08
13:01
[e77b5d23b2] Envoi de message collectif (user: bohwaz, tags: dev)
2018-10-05
17:26
[e3fc01b49c] D├ęcommenter envoi de mail (faute de commit) (user: bohwaz, tags: dev)
17:17
[6a673f4813] Forcer le select de l'ID et de l'email pour l'envoi de message (user: bohwaz, tags: dev)
Changes

Modified src/include/lib/Garradin/Membres.php from [4171e6afde] to [c01bb47300].

317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336

    public function sendMessage(array $recipients, $subject, $message, $send_copy)
    {
        $config = Config::getInstance();

        foreach ($recipients as $recipient)
        {
            //Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $recipient->email, $subject, $message, $recipient->id);
        }

        if ($send_copy)
        {
            //Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $config->get('email_asso'), $subject, $message);
        }

        return true;
    }

    public function listAllByCategory($id_categorie)
    {







|




|







317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336

    public function sendMessage(array $recipients, $subject, $message, $send_copy)
    {
        $config = Config::getInstance();

        foreach ($recipients as $recipient)
        {
            Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $recipient->email, $subject, $message, $recipient->id);
        }

        if ($send_copy)
        {
            Utils::sendEmail(Utils::EMAIL_CONTEXT_BULK, $config->get('email_asso'), $subject, $message);
        }

        return true;
    }

    public function listAllByCategory($id_categorie)
    {