| Next | Welcome to my ~/bin | 134 | 
        %type = ('gif' => 'image/gif',
                 ...
                );
        ...
          my $type = $type{lc $suf} || 'application/octet-stream';
          $msg->attach(Type     => $type,
                       Path     => $_);
I don't like the way it infers the type
The table is a maintenance problem
Some people have spam filters that reject application/octet-stream
Why did I do it this way?
I didn't know any better
I still don't
| Next | Menu |  | Copyright © 2005 M. J. Dominus |