tcllib package mimetype and non-file-data



Hello,

I would really like to test data received as attachment with an eMail
without saving it into a file for its real mime type.

I found the tcllib package mimetype, but this package only allows to
recognize files.

So I took a look at the sources especially the rtcore and found that
the strbuf variable will be filled with the file contents, but that
often the opened file is used to extract data from it, instead of the
strbuf variable filled with the file data.

Could anyone help explaining me some of the procedures and the reason,
why the strbuf variable exists, is filled, but not really used, so that
I could try to extend the filetype and the mimetype packages to accept
non-file-data?

Thanks and best regards,

Martin

.



Relevant Pages

  • Re: SSIS package protection level
    ... You can't choose ServerStorage when saving to File System. ... deploy your package to SQL Server or change your ProtectionLevel to another ... Failed to apply package protection with error 0xC0014061 "The protection ...
    (microsoft.public.sqlserver.dts)
  • PowerPoint doubt.
    ... I have PowerPoint 2007 complete package. ... gives you all you can do, plus, when saving on an early version it tells you ... I have File Format converter. ...
    (microsoft.public.powerpoint)
  • Re: Finished the sewing for new great-nephew
    ... I printed that one along with several others I've been saving to make a "How to be a Grandpa" package for my brother at the shower today. ...
    (alt.sewing)
  • Re: DTS Takes forever to save
    ... WHILE the package is saving I also notice that mmc.exe is taking 97% of my CPU and the memory usage grows. ... I have activescript and other things in the package. ...
    (microsoft.public.sqlserver.dts)
  • Re: DTS Packages Not Saving Changes
    ... The package should be being saved back with the changes. ... Are you saving to SQL Server? ... I saved it multiple times. ... At 11:00AM I logged back on, opened up enterprise manager, and the package existed as it did at 7AM without any of the new changes. ...
    (microsoft.public.sqlserver.dts)