Overview
Comment: | Correction typo nom variable envoi de mail |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | dev |
Files: | files | file ages | folders |
SHA1: |
536d23e2c9786ac5e6b2194f5d684df8 |
User & Date: | bohwaz on 2018-10-21 19:20:52 |
Other Links: | branch diff | manifest | tags |
Context
2018-10-21
| ||
19:29 | Ne pas remettre à zéro les données custom de la session check-in: e6bc64c5f2 user: bohwaz tags: dev | |
19:20 | Correction typo nom variable envoi de mail check-in: 536d23e2c9 user: bohwaz tags: dev | |
2018-10-19
| ||
23:13 | Fix bug nom de champ ambigu check-in: 366ec1d95d user: bohwaz tags: dev | |
Changes
Modified src/include/lib/Garradin/Utils.php from [68bab2cb49] to [b08ae6096e].
︙ | ︙ | |||
780 781 782 783 784 785 786 | $headers['From'] = sprintf('"%s" <%s>', sprintf('=?UTF-8?B?%s?=', base64_encode($config->get('nom_asso'))), $config->get('email_asso')); $headers['Return-Path'] = $config->get('email_asso'); $headers['MIME-Version'] = '1.0'; $headers['Content-type'] = 'text/plain; charset=UTF-8'; | | | | 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 | $headers['From'] = sprintf('"%s" <%s>', sprintf('=?UTF-8?B?%s?=', base64_encode($config->get('nom_asso'))), $config->get('email_asso')); $headers['Return-Path'] = $config->get('email_asso'); $headers['MIME-Version'] = '1.0'; $headers['Content-type'] = 'text/plain; charset=UTF-8'; if ($context == self::EMAIL_CONTEXT_BULK) { $headers['Precedence'] = 'bulk'; } $hash = sha1(uniqid() . var_export([$headers, $to, $subject, $content], true)); $headers['Message-ID'] = sprintf('%s@%s', $hash, isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : gethostname()); if (SMTP_HOST) { $const = '\KD2\SMTP::' . strtoupper(SMTP_SECURITY); if (!defined($const)) { throw new \LogicException('Configuration: SMTP_SECURITY n\'a pas une valeur reconnue. Valeurs acceptées: STARTTLS, TLS, SSL, NONE.'); } $secure = constant($const); |
︙ | ︙ |