| @@ -66,8 +66,9 @@ | ||
| 66 | 66 | 'replyto_email' => acym_strtolower($config->get('replyto_email')), |
| 67 | 67 | 'bounce_email' => acym_strtolower($config->get('bounce_email')), |
| 68 | 68 | ]); |
| 69 | 69 | |
| 70 | + // Make sure that all domains in AcyMailer configuration are in lower cases | |
| 70 | 71 | $acymailerParams = $config->get('acymailer_domains', '[]'); |
| 71 | 72 | $acymailerParams = @json_decode($acymailerParams, true); |
| 72 | 73 | if (!empty($acymailerParams)) { |
| 73 | 74 | foreach ($acymailerParams as $domain => $domainParams) { |
| @@ -140,8 +141,9 @@ | ||
| 140 | 141 | if ($this->isPreviousVersionAtLeast('9.10.1')) { |
| 141 | 142 | return; |
| 142 | 143 | } |
| 143 | 144 | |
| 145 | + // On some servers, there is a limit of 767 bytes for the index length, which corresponds to VARCHAR(191) | |
| 144 | 146 | $this->updateQuery('ALTER TABLE #__acym_user DROP INDEX `email_UNIQUE`'); |
| 145 | 147 | $this->updateQuery('ALTER TABLE #__acym_configuration CHANGE `name` `name` VARCHAR(190) NOT NULL'); |
| 146 | 148 | |
| 147 | 149 | $this->updateQuery('ALTER TABLE #__acym_mail_archive CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci'); |