How to make so that when you attach a file to a form, the file is sent to the manager by mail along with the contact information about the person who filled it in?

    1 answer 1

    The question is already old, but since there is no answer, I will write.

    If in general we add input [type = file] in the form template to select a file, rewrite the controller in which we receive the file and attach it to the letter, here in my gist there is an example of how to attach the file to the ZF / Magento letter