in reply to Re: Sending Email Attachment
in thread Sending Email Attachment

Okay that worked perfectly. Is there a type I can use that will work no matter what type of file it is?


___________
Eric Hodges

Replies are listed 'Best First'.
Re^3: Sending Email Attachment
by clscott (Friar) on Feb 19, 2007 at 18:59 UTC

    No, that's the whole point of MIME types: to identify the format of the data in the file so the receiving tool can decide to handle it or pass it off.

    You might want to use File::MimeInfo or the 'file' command on unix to identify the appropriate MIME type for a file.

    --
    Clayton

      I found out that if you have MIME::Types installed you can use 'AUTO' as the type and MIME::Lite will do the work for you. Thanks.


      ___________
      Eric Hodges