wp-graphql-send-mail
wp-graphql-send-mail copied to clipboard
error send email
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": [] } } }