You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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": []
}
}
}
The text was updated successfully, but these errors were encountered:
Actually seems like it was an Host problem for me. They changed their PHPMailer settings, so that the from email address has to be one the has the same domain and it has to exist on the host. Maybe it's something similar for you @Mohammad-Ravand ? You can try logging phpmailer errors by adding a php.ini file on the wordpress index.php folder with:
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": []
}
}
}
The text was updated successfully, but these errors were encountered: