[LUNI] attachment MIME types
Chris McKeever
cgmckeever at gmail.com
Fri Aug 11 11:00:02 CDT 2006
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, will
> 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
send an .ics from a program that is *meant* to send .ics attachment
(or by creating the entire mail message programtically in this case
PHP)
gmail picks it FINE
send an .ics by just attaching the file (same file sent above)
gmail DOES NOT see it fine
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
>
> Keith
>
> --
> Keith T. Garner kgarner at kgarner.com
> "Make no little plans; they have no magic to
> stir men's blood." - Daniel H. Burnham
> --
> Linux Users Of Northern Illinois - Technical Discussion
> http://luni.org/mailman/listinfo/luni
>
More information about the luni
mailing list