Uploaded image for project: 'Railo'
  1. Railo
  2. RAILO-568

Mail sent with cfmail contains attachment and wrong MIME-type

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.1
    • Labels:

      Description

      When I send email through <cfmail> on Railo the email comes through with an attachment.

      The email header when sent from Railo contains this:

      MIME-Version: 1.0
      Content-Type: multipart/mixed;
      boundary="----=_Part_3_15079971.1262699924914"

      When sent through ColdFusion is contains this:

      MIME-Version: 1.0
      Content-Type: text/html; charset=UTF-8
      Content-Transfer-Encoding: 7bit

      When I send through CF there is no attachment on the email, but when I send through Railo there is.

      Is there something I have to specify in Railo to stop this?

      I've tried:

      <cfmailparam name="MIME-Version" value="1.0">
      <cfmailparam name="Content-Type" value="#ContentValue#">
      <cfmailparam name="Content-Transfer-Encoding" value="7bit">

      But the result is identical, the content-type is still multipart/mixed and there is still an attachment.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  micstriit Michael Offner
                  Reporter:
                  grapestack GRAPE Stack
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: