JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Use Agile By Default
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile Access more options (Alt+g)
  • Create Issue
  • Mule
  • MULE-6005

SMTP mimeType ignored when set on outbound-endpoint directly or inside transformer

  • Agile Board
  • More Actions
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 3.1.2, 3.2.1
  • Fix Version/s: None
  • Component/s: Transport: Email
  • Labels:
    None
  • Environment:

    Windows 7, JDK 1.6.0.25

  • User impact:
    Low
  • Affects Docs:
    Yes
  • Similar Issues:
    None

Description

I have noticed that mimeType option is ignored when set directly on smtp:outbound-endpoint :

<smtp:outbound-endpoint host="${smtp.host}" port="${smtp.port}" mimeType="text/plain; charset=UTF-8"/>

or when set on explicit string-to-email tranformer inside smtp:outbound-endpoint:

<smtp:outbound-endpoint host="${smtp.host}" port="${smtp.port}" >
			<email:string-to-email-transformer encoding="UTF-8" mimeType="text/plain; charset=UTF-8"/>
</smtp:outbound-endpoint>

The only way to force mimeType is to set it on smtp:connector and reference it inside smtp:outbound-endpoint,

<smtp:connector name="smtpConnector" contentType="text/plain; charset=UTF-8" />
<smtp:outbound-endpoint host="${smtp.host}" port="${smtp.port}" connector-ref="smtpConnector"/>

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Transitions
  • Commits
  • Source
  • Builds
There are no comments yet on this issue.

People

  • Assignee:
    Unassigned
    Reporter:
    Dawid Wróbel
Vote (0)
Watch (0)

Dates

  • Created:
    03/Jan/12 08:08 AM
    Updated:
    19/Jan/12 10:14 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.0.7#734-sha1:8ad78a6)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for MuleForge. Try JIRA - bug tracking software for your team.