in reply to Re: Attachments with NET::SMTP
in thread Attachments with NET::SMTP

I have decided to rewrite the script using MIME::Lite, but do you know if this will let internet users email files from there local computer to me?

Replies are listed 'Best First'.
Re^3: Attachments with NET::SMTP
by tirwhan (Abbot) on Dec 27, 2005 at 09:44 UTC

    You can set up your web script in that way, but it seems an awfully roundabout and wasteful way to transfer files. Why don't you just have the user upload the file to the server where you can access it after receiving the email (you could put the file path into the generated email)? Transferring files via email has a few problematic aspects, most ISPs these days block certain attachment file types for example, so why do it unneccessarily?


    A computer is a state machine. Threads are for people who can't program state machines. -- Alan Cox
      I had thought about that and it does seam wiser, can you suggest any modules to look at for uploading to my server?

        CGI::Upload ?


        A computer is a state machine. Threads are for people who can't program state machines. -- Alan Cox