Step 2: Set a controller file

File path: app\code\\Mageplaza\HelloWorld\Controller\Order\Email

Add the file app\code\\Mageplaza\HelloWorld\Controller\Order\Email that is based on class \Magento\Framework\App\Action\Action. The file will take the submit action from the above form, but firstly, please insert the action below: