Today will show you how to Custom modal attachment files send an email on the product view page in Magento 2. I. The files need to add. We need to add items and files. [VendorName]/[ModuleName]/registration.php [VendorName]/[ModuleName]/etc/module.xml [VendorName]/[ModuleName]/etc/frontend/routes.xml [VendorName]/[ModuleName]/Controller/Index/Index.php [VendorName]/[ModuleName]/Controller/Index/Post.php [VendorName]/[ModuleName]/Model/Mail/Template/TransportBuilder.php ...