[LUNI] attachment MIME types
Keith T. Garner
kgarner at kgarner.com
Fri Aug 11 11:46:03 CDT 2006
Chris McKeever wrote:
> On 8/11/06, Keith T. Garner <kgarner at kgarner.com> wrote:
>> Chris McKeever wrote:
>> > Maybe I am missing something - but when I just simply attach the file
>> > (in a webmail or outlook client) and send it off - every place I send
>> > it to just picks it up as text/plain - which is all as expected -
>> > since there is nothing in it outside of text
>> Because you don't have anything configured (such as a mime.types file) to
>> say that an .ics file is of type text/calendar. :) That's all I was
>> suggesting. If you define it in a mime.types file (such as
>> /etc/mime.types,) anything that consults mime.types when sending mail,
>> put the correct mime type.
>> > I have figured out how to created the whole message via PHP and define
>> > a text/calendar mime type - which then all works peachy --
>> Sounds like you're part of the way there.
>> > What I was trying to figure out is when you just manually attach the
>> > file - seems that is where I am getting lost.
>> As you've seen in the discussion, its different per MUA. Hopefully
>> the MUA
>> you use consults a mime.types or equivalent.
> ACK -- ok, we are all on different pages here
I don't think so.
> send an .ics from a program that is *meant* to send .ics attachment
> (or by creating the entire mail message programtically in this case
> gmail picks it FINE
> send an .ics by just attaching the file (same file sent above)
> gmail DOES NOT see it fine
Hence, as three people have tried to say this time, your mail client that
you are attaching the mail in must be configured to set the right mime type
for that file type. When you said mutt before, I used the specific example
of mutt consulting /etc/mime.types when you attach the file. This works.
Really. Have you TRIED editing the mime.types file yet?
> the MUA (gmail in this case) must know how to handle the file, but
> when it is manually added, since it is just a plain text - it gets
> treated as such
Have you updated the mime.types file or the equivalent for your mail
Keith T. Garner kgarner at kgarner.com
"Make no little plans; they have no magic to
stir men's blood." - Daniel H. Burnham
More information about the luni