Jump to content
Sign in to follow this  

content-type of emails sent by webcompanion

Recommended Posts


I hope i'm posting this in the correct section, as i couldn't really find something fitting for this...

Our company does software development, and we have a database for bugreports running on top of filemaker pro unlimited.

Each time a bug report is changed or added, several people need to be informed of any actions by email, this is done through the web-companion plug-in. The emails that are sent are in HTML format, which is necessary to make emails resemble the web-interface as much as possible.

In the past we used EUDORA as email client, and I am now researching the possibility to switch to Mozilla Thunderbird.

Now while testing Thunderbird, i noticed that the emails sent by filemaker were processed as plaintext mails, and since the content of the email was HTML, it looked like a bunch of garbage and was unreadable.

After some research, i found that the reason of this problem is that EUDORA didn't look at the email headers, but at the message body to decide whether it should process a message as plaintext or as HTML.

Thunderbird however (and outlook as well) will readt the "Content-Type" header in each email, in that header, 2 values are possible:



Based on this value, Thunderbird will process the message either as text or HTML.

The problem is that i can find no apparent option in filemaker to change this header.

One thing i found was to put a "mimetypes.txt" file in the filemaker directory, that file should then contain any special headers that need to be put in an email.

But after some testing (monitoring with sysinternals file-monitor) we found that filemaker wasn't even attempting to read this file...

So if anyone has a better/working solution to this problem, i would really be gratefull

Share this post

Link to post
Share on other sites

There must be a special CDML instruction: [FMP-ContentMIMEType: mime/type]. Place it in the file and when processed it will change MIME type returned to browser.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.