Email Log Errors

Overview

When an email is sent, Gravity SMTP records the details in the Email Log. To view the log, go to Gravity SMTP → Email Log and select the failed email to open its details.

Gravity SMTP logs the message your integration returns, so the wording depends on the integration you use. This article lists the errors Gravity SMTP writes itself, the errors from the Custom SMTP integration, and how to read errors from API integrations.

Gravity SMTP Errors

Token Is Invalid or Expired

Token is invalid or expired.

Google / Gmail or Microsoft 365 / Outlook could not renew the connection, for example because the password changed or access was revoked. Go to Settings → Integrations, then reconnect the integration.

Microsoft Mailbox Not Enabled

Microsoft could not send this email because the connected account does not have a mailbox enabled for Microsoft Graph API access. Verify that the account has an active Exchange Online mailbox and license, or contact your Microsoft 365 administrator. (MailboxNotEnabledForRESTAPI)

The Microsoft 365 account you connected has no Exchange Online mailbox or license. Connect an account with an active mailbox, or ask your Microsoft 365 administrator to add one.

Recipient Is Suppressed

Recipient email address [email protected] is suppressed.

The recipient is on your suppression list, so Gravity SMTP did not send the email. If the address should receive email, remove it in Suppressions.

Email Sent With Filtered Recipients

Email sent with filtered recipients. Suppressed addresses removed: [email protected] (removed from cc)

The email was sent, but suppressed addresses were removed from To, CC or BCC. The email shows as partially sent. Check the listed addresses in Suppressions.

Custom SMTP Errors

The Custom SMTP integration sends through the PHPMailer library included in WordPress, and logs its error messages.

Could Not Authenticate

SMTP Error: Could not authenticate.

The SMTP server rejected the username or password. Check both in the integration settings. Some providers, such as Gmail, require an app password instead of your account password.

Could Not Connect to the SMTP Host

SMTP Error: Could not connect to SMTP host.
SMTP connect() failed.

Your site could not reach the SMTP server. Check the host, port and encryption settings (usually port 587 with TLS, or 465 with SSL). Many hosts block outgoing SMTP ports; ask your host to open the port, or use an API integration instead.

From Address Failed

SMTP Error: The following From address failed: [email protected]

The server doesn’t allow sending from this From Email. Use an address the SMTP account is allowed to send from.

Recipients Failed

SMTP Error: The following recipients failed: [email protected]

The server rejected one or more recipients. Check the addresses, and the server’s sending limits.

Data Not Accepted

SMTP Error: data not accepted.

The server rejected the email after receiving it, often because of its size, attachments or content. Try again without attachments.

API Integration Errors

API integrations, such as SendGrid, Mailgun or Postmark, log the response from the email service. It is often a short JSON message that includes an error code or HTTP status. The most common ones are:

401 Unauthorized

The API key is wrong, expired or deleted. Create a new key with your provider and update it in the integration settings.

403 Forbidden

The key doesn’t have permission to send, or the From Email or domain isn’t verified with the provider. Check the key’s permissions and verify your sending domain.

400 or 422 Bad Request

The provider rejected the email content, for example an invalid From Email or recipient. Read the message for the field it names.

413 Payload Too Large

The email or its attachments are too large for the provider.

429 Too Many Requests

You reached the provider’s sending limit. Wait, or upgrade your plan with the provider.

500 to 503 Server Errors

A temporary problem at the provider. Use Resend Emails once the service is back.

For details on a specific error, check the email log in your provider’s dashboard or contact the provider’s support.

Still Having Trouble?

Follow the steps in Troubleshooting Gravity SMTP. If the error is still unclear, contact support and include a full-page screenshot of the email’s details page.