in reply to How do I fetch and send mail attachments?

All you need to do is to process the uploaded file in your form handler. How you do this will depend on how you have written the handler. For example, see:

You may have chosen to use a framework (eg. Dancer2, Mojolicious, etc.) in which case you should refer to the framework's documentation for handling uploads instead, of course.

  • Comment on Re: How do I fetch and send mail attachments?

Replies are listed 'Best First'.
Re^2: How do I fetch and send mail attachments?
by Seeker100 (Initiate) on Jun 12, 2019 at 13:48 UTC
    Hmmm... are you saying I need to first upload the file to the server and then send it as a mail attachment? That would make sense. :-) Cheers!

      Maybe you could send an email without attachments but with links to download the actual files directly from the server.

      poj
        Actually, as I mentioned in my initial post, attaching a file from the server works fine with the script I have. So I guess I'll just have to break it up into two steps if I'm going to use Perl, unless anyone has a better idea. :-) Cheers!