Re: Mime type for emails/outlook do not work

Posted by Alessandro Vernet on
URL: https://discuss.orbeon.com/Mime-type-for-emails-outlook-do-not-work-tp4665256p4665264.html

Hi Manish,

I am wondering if this is because the correct mediatype isn't associated to
the `.msg` file you upload. That mediatype is provided by the browser. If
you enable the XForms Inspector and you upload a file, what is the value of
the `mediatype` attribute in the data?

As far as the logic goes, up to 2019.2, Orbeon Forms strictly uses the
mediatype it gets from the browser. Starting with 2020.1, produces a
mediatype based on the file extension in those cases where the browser
doesn't doesn't send the correct mediatype, which is something that might
help you if in your case the browser doesn't send a mediatype for `.msg`
files.

https://github.com/orbeon/orbeon-forms/issues/4474

You'll let me know what your findings are.

‑Alex

-----
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
--
Sent from: http://discuss.orbeon.com/

--
You received this message because you are subscribed to the Google Groups "Orbeon Forms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/orbeon/1591405931154-0.post%40n4.nabble.com.
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet