Log in
Model

ContactUs

Magento\ContactGraphQl\Model\Resolver\ContactUs

What it does

This GraphQL resolver handles contact form submissions through the GraphQL API.

Developers use this class when implementing or extending the contactUs mutation, allowing customers to submit contact inquiries via GraphQL instead of traditional REST endpoints.

It validates input, checks if the contact form is enabled, and sends emails with the submitted data.

Public Methods

  • resolve()