Index: branches/5.2.x/core/install/english.lang =================================================================== diff -u -N -r16591 -r16598 --- branches/5.2.x/core/install/english.lang (.../english.lang) (revision 16591) +++ branches/5.2.x/core/install/english.lang (.../english.lang) (revision 16598) @@ -166,6 +166,7 @@ RGVmYXVsdCAiUGVyIFBhZ2UiIHNldHRpbmcgaW4gR3JpZHM= RGVmYXVsdCBSZWdpc3RyYXRpb24gQ291bnRyeQ== RGVmYXVsdCBBbmFseXRpY3MgVHJhY2tpbmcgQ29kZQ== + RW1haWwgRGVsaXZlcnk= S2VlcCAiRS1tYWlsIExvZyIgZm9y RW5hYmxlICJFLW1haWwgTG9nIg== RW5hYmxlIFJldmlzaW9uIENvbnRyb2wgZm9yIFNlY3Rpb24gQ29udGVudA== @@ -892,6 +893,8 @@ RWRpdG9yJ3MgUGljaw== RS1tYWls RS1tYWlsIEJvZHk= + SW1tZWRpYXRl + RW1haWwgUXVldWU= Rm9yZXZlciAobmV2ZXIgZGVsZXRlZCBhdXRvbWF0aWNhbGx5KQ== RS1tYWlsIFN1YmplY3Q= RS1tYWlsIFRlbXBsYXRlcw== Index: branches/5.2.x/core/install/upgrades.sql =================================================================== diff -u -N -r16588 -r16598 --- branches/5.2.x/core/install/upgrades.sql (.../upgrades.sql) (revision 16588) +++ branches/5.2.x/core/install/upgrades.sql (.../upgrades.sql) (revision 16598) @@ -2950,3 +2950,5 @@ UPDATE LanguageLabels SET l1_HintTranslation = REPLACE(l1_HintTranslation, '
  • This deploy script will reset all caches at once
  • ', '
  • This deploy script will reset all caches at once.
  • \r\n
  • This deploy script will dump production assets.
  • \r\n') WHERE PhraseKey = 'LA_TITLE_SYSTEMTOOLSDEPLOY'; + +INSERT INTO SystemSettings VALUES(DEFAULT, 'EmailDelivery', '2', 'In-Portal', 'in-portal:configure_advanced', 'la_section_SettingsMailling', 'la_config_EmailDelivery', 'radio', NULL, '1=la_opt_EmailDeliveryQueue||2=la_opt_EmailDeliveryImmediate', 50.11, 0, 1, NULL); Index: branches/5.2.x/core/units/mailing_lists/mailing_lists_config.php =================================================================== diff -u -N -r16577 -r16598 --- branches/5.2.x/core/units/mailing_lists/mailing_lists_config.php (.../mailing_lists_config.php) (revision 16577) +++ branches/5.2.x/core/units/mailing_lists/mailing_lists_config.php (.../mailing_lists_config.php) (revision 16598) @@ -1,6 +1,6 @@ Array ( 'generate_mailing_queue' => Array ('EventName' => 'OnGenerateEmailQueue', 'RunSchedule' => '*/30 * * * *'), - 'process_mailing_queue' => Array ('EventName' => 'OnProcessEmailQueue', 'RunSchedule' => '*/30 * * * *'), ), 'IDField' => 'MailingId', Index: branches/5.2.x/core/units/email_queue/email_queue_config.php =================================================================== diff -u -N -r16388 -r16598 --- branches/5.2.x/core/units/email_queue/email_queue_config.php (.../email_queue_config.php) (revision 16388) +++ branches/5.2.x/core/units/email_queue/email_queue_config.php (.../email_queue_config.php) (revision 16598) @@ -1,6 +1,6 @@ 'email-queue', 'ItemClass' => Array ('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'), 'ListClass' => Array ('class' => 'kDBList', 'file' => '', 'build_event' => 'OnListBuild'), - 'EventHandlerClass' => Array ('class' => 'kDBEventHandler', 'file' => '', 'build_event' => 'OnBuild'), + 'EventHandlerClass' => Array ('class' => 'EmailQueueEventHandler', 'file' => 'email_queue_eh.php', 'build_event' => 'OnBuild'), 'TagProcessorClass' => Array ('class' => 'EmailQueueTagProcessor', 'file' => 'email_queue_tp.php', 'build_event' => 'OnBuild'), 'AutoLoad' => true, @@ -31,12 +31,19 @@ 5 => 'mode', ), + 'ScheduledTasks' => Array ( + 'process_email_queue' => Array ('EventName' => 'OnProcess', 'RunSchedule' => '* * * * *'), + ), + 'IDField' => 'EmailQueueId', 'TableName' => TABLE_PREFIX . 'EmailQueue', 'TitlePresets' => Array ( 'email_queue_list' => Array ('prefixes' => Array ('email-queue_List'), 'format' => '!la_tab_EmailQueue!',), + + 'email_send' => Array ('prefixes' => Array (), 'format' => '!la_title_SendingPreparedEmails!. !la_title_PleaseWait!'), + 'email_send_complete' => Array ('prefixes' => Array (), 'format' => '!la_title_SendMailComplete!'), ), 'PermSection' => Array ('main' => 'in-portal:email_queue'), Index: branches/5.2.x/core/admin_templates/mailing_lists/send_complete.tpl =================================================================== diff -u -N -r15608 -r16598 --- branches/5.2.x/core/admin_templates/mailing_lists/send_complete.tpl (.../send_complete.tpl) (revision 15608) +++ branches/5.2.x/core/admin_templates/mailing_lists/send_complete.tpl (.../send_complete.tpl) (revision 16598) @@ -1,7 +1,7 @@ - +