I have added 3 custom attribute fields to Magento 2:
special_email, special_subject, and special_message
These 3 fields are filled out in the Magento 2 admin on a per product basis.
What I want to do is, if an order is placed for any product that has those fields filled out, then use those fields to send an email to the special_email
address with a subject of special_subject
and a message of special_message
So the part that I’m unsure of is what file to create and what code to use.
I have created a folder in: app/code/{vendor}/Specialproduct
Where do I go from here?
Thank you.