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

Email can not be sent when content is a page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 5.5.2
    • 5.4.2, 5.5, 5.5.1
    • None
    • None

      When info.magnolia.module.mail.templates.impl.MgnlPageEmail is used (because a page is sent in an email) an exception is thrown:

      Caused by: org.apache.http.ProtocolException: Target host is not specified
      	at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:70)
      	at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:124)
      	at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:183)
      	... 148 more
      

      because when client.execute(authpost) is executed, authpost has set a relative path and it is not possible to determine the host-port-protocol for the request.

        Acceptance criteria

              viet.nguyen Viet Nguyen
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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