Uploaded image for project: 'Mule'
  1. Mule
  2. MULE-6139

SMTP MalformedEndpointException - invalid '@' in user name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.2 (EE only), 3.2.x
    • Fix Version/s: 3.8.0
    • Component/s: Transport: Email
    • Labels:
      None
    • Environment:

      Windows 7 64-bit, Mule Studio Enterprise 1.1.0, Mule 3.2.2 EE

    • Severity:
      S2
    • Migration Impact:
      See MULE-8927

      Description

      When deploying a configuration/flow with smtp-endpoint a org.mule.api.endpoint.MalformedEndpointException is thrown.
      Saying: "The endpoint "smtps://username@gmail.com:pwd@smtp.gmail.com:465" is malformed and cannot be parsed. If this is the name of a global endpoint, check the name is correct, that the endpoint exists, and that you are using the correct configuration (eg the "ref" attribute). Note that names on inbound and outbound endpoints cannot be used to send or receive messages; use a named global endpoint instead."

      Solution is to replace '@' with url escape code '%40', but this should not be this way.
      Bug seems to have been around for a while. This may not be a Mule Studio bug, but a Mule server bug??

        Attachments

          Activity

            People

            Assignee:
            rodrigo.merino@mulesoft.com Rodrigo Merino
            Reporter:
            bents Bent S [X] (Inactive)
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                PagerDuty