wp-graphql-send-mail icon indicating copy to clipboard operation
wp-graphql-send-mail copied to clipboard

error send email

Open Mohammad-Ravand opened this issue 9 months ago • 2 comments

i installed plugin on my wordpress locally. this is my query i want to run in GraphiQL IDE mutation SEND_EMAIL { sendEmail( input: {to: "[email protected]", from: "[email protected]", subject: "test email", body: "test email", clientMutationId: "test"} ) { origin sent message } }

but i get this error every time:

{ "data": { "sendEmail": { "origin": "http://localhost:8000", "sent": false, "message": "Email failed to send" } }, "extensions": { "debug": [ { "type": "DEBUG_LOGS_INACTIVE", "message": "GraphQL Debug logging is not active. To see debug logs, GRAPHQL_DEBUG must be enabled." } ], "graphqlSmartCache": { "graphqlObjectCache": [] } } }

Mohammad-Ravand avatar May 02 '24 11:05 Mohammad-Ravand