Uploaded image for project: 'Magnolia Mail Module'
  1. Magnolia Mail Module
  2. MGNLMAIL-173

Cannot send template-based messages with "simple" render type

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.0.0, 5.6.1
    • 5.6.0
    • Backend
    • None
    • Yes
    • DevX 43
    • 3
    • Yes

    Description

      Currently as a user I cannot send emails with the template configuration which includes "simple" render type and a template file.

      Steps to reproduce:

      1. Configure SMTP server via Mail Tools app
      2. Go to /modules/mail/config/templateConfiguration and then create a template configuration with type = simple and a specific templateFile = xxx (Refer to the Template-configuration.png attachment below)
      3. Test the template using Mail Tools app.
      (Go to Mail Tools -> Select Verify Setup tab -> Choose the template -> Click "SEND TEST EMAIL" button)

      Expected result: The email based on the configured template file is sent successfully.
      Actual result: The email is not sent, the error message "Unable to send email: null." is displayed. (Refer to the Error.png attachment below)

      For Mail configuration and testing refer to: Mail module

      Checklists

        Acceptance criteria

        Attachments

          1. Cannot-load-template-file.png
            Cannot-load-template-file.png
            250 kB
          2. Error.png
            Error.png
            234 kB
          3. no-email-error.png
            no-email-error.png
            245 kB
          4. simple-mail-test.png
            simple-mail-test.png
            124 kB
          5. Template-configuration.png
            Template-configuration.png
            155 kB
          6. user-settings.png
            user-settings.png
            36 kB

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                anh.vu Anh Vu
                anh.vu Anh Vu
                DeveloperX
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 4d 6.5h
                      4d 6.5h