Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-16543

Default Mail Transport can't be overriden in notification.ini

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Obsolete
    • Icon: Medium Medium
    • Future
    • 4.3.0rc1
    • Notifications
    • None

    Description

      Mail transport setting in notification.ini surely needs refactoring

      Firstly default setting points to non-existing transport

      [TransportSettings]
      DefaultTransport=mail
      

      instead of

      [TransportSettings]
      DefaultTransport=ezmail
      

      Also all kernel code directly specifies used transport,

      $transport = eZNotificationTransport::instance( 'ezmail' );
      

      instead of

      $transport = eZNotificationTransport::instance();
      

      which make 'DefaultTransport' setting useless.

      /kernel/classes/notification/handler/ezcollaborationnotification/ezcollaborationnotificationhandler.php
      /kernel/classes/notification/handler/ezgeneraldigest/ezgeneraldigesthandler.php
      /kernel/classes/notification/handler/ezsubtree/ezsubtreehandler.php

      Attachments

        Activity

          People

            unknown unknown
            ply ply
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: