Punto has asked for the wisdom of the Perl Monks concerning the following question:
Since the user is uploading the file, I don't know wich type to use.. Does it make any difference if I just use "image/gif", o something like "unknown/unknown" for everything?$top->attach(Path => $gif_path, Type => "image/gif", Encoding => "base64");
Also, does anyone know if there is a way to provide a filehandle instead of a path to the file, to create the e-mail? (I'm getting the filehandle from cgi->upload(), so I'd have to create a file just to delete it after)
Thanks..
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: Mime types.
by le (Friar) on Jun 18, 2000 at 12:31 UTC | |
by Punto (Scribe) on Jun 19, 2000 at 02:20 UTC | |
by le (Friar) on Jun 19, 2000 at 11:30 UTC | |
|
Re: Mime types.
by mdillon (Priest) on Jun 18, 2000 at 20:02 UTC |