Model
SendEmail
Magento\SendFriendGraphQl\Model\SendFriend\SendEmail
What it does
This class handles the core functionality of sending product recommendation emails to friends via GraphQL.
Developers would use this class when implementing the "Email to a Friend" feature in a headless Magento 2 storefront, as it validates rate limits, prepares sender/recipient data, and triggers the email sending process for a specific product.
Public Methods
- execute()