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

SMTP MalformedEndpointException - invalid '@' in user name

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.2.2 (EE only), 3.2.x
    • 3.8.0
    • Transport: Email
    • None
    • Windows 7 64-bit, Mule Studio Enterprise 1.1.0, Mule 3.2.2 EE

    • S2
    • 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

            rodrigo.merino@mulesoft.com Rodrigo Merino
            bents bents
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: