in reply to how can send an email with attachment from an html form

This is exactly what I'm looking for, but it's not working on my site. Where do I place the 2nd part of this code?
  • Comment on Re: how can send an email with attachment from an html form

Replies are listed 'Best First'.
Re^2: how can send an email with attachment from an html form
by marto (Cardinal) on Feb 18, 2020 at 07:49 UTC

    This thread is very old. I'd suggest looking at MIME::Lite for your email sending needs.

      Um, from the doc for MIME::Lite (for several years now):

      MIME::Lite is not recommended by its current maintainer. There are a number of alternatives, like Email::MIME or MIME::Entity and Email::Sender, which you should probably use instead. MIME::Lite continues to accrue weird bug reports, and it is not receiving a large amount of refactoring due to the availability of better alternatives. Please consider using something else.


      The way forward always starts with a minimal test.