#18 user choice of content type

open
nobody
None
5
2007-05-18
2007-05-18
Erich
No

After checking Yahoo discussions regarding blat and vcf files and after reading RequestID 785780 I succeeded in blat sending invitations to Lotus Notes users. Fine.
But
-- even with the -superdebugT option I do not really know why this works
-- it works only using the undocumented -penguin option

There shall be a possibility to enable the user to specify the correct type of his content.
either by adding new keywords like in the -enriched and -html options (in my case this would be -calendar)
or by adding a new option -contenttype enabling me to specify "-contenttype text/calendar"

regards
erich

Discussion

  • Chip
    Chip
    2008-03-15

    Logged In: YES
    user_id=800692
    Originator: NO

    -penguin is the same as -raw, which is documented.

    Have you checked your registry to ensure text/calendar is available? Blat looks to the registry for filename extensions and their types, this is what Blat puts into the message ContentType line.

    I could add the option -contenttype, but understand that it will apply to all attachments that _do not_ have a content type in your registry. If the file you are attaching does have a content type in the registry, this will take precedence over your command line.

    --
    Chip

     
  • Erich
    Erich
    2008-03-17

    Logged In: YES
    user_id=1089672
    Originator: YES

    I checked my registry and could not find any text/calendar issue.

    If you add the -contenttype option this would yield in a lot of more flexibility in batch operations. Especially when the blat control file and the content of the message to be sent are calculated and created from within the batch.
    But, if I specify a content type, my intention should be respected as far as possible. Making the registry responsible for default handling is a fine idea. But sometimes it's me knowing what I want :-))
    regards
    erich