All email endpoints are available since v1.4.0.
GET /email/settings
Returns the current SMTP configuration. The stored password is masked and never returned in plain text.Response
POST /email/settings
Saves SMTP configuration. If thepassword field is •••••••• or omitted, the existing stored password is kept unchanged.
Parameters
Enable or disable SMTP routing for all outgoing WordPress email.
SMTP server hostname (e.g.
smtp.gmail.com).SMTP port. Common values:
587 (STARTTLS), 465 (SSL), 25 (plain). Defaults to 587.SMTP authentication username.
SMTP authentication password. Pass
•••••••• or omit this field to keep the existing password.Encryption method:
none, ssl, or tls. Defaults to tls.Override the sender email address for all outgoing mail.
Override the sender display name for all outgoing mail.
Response
Always
true.The saved settings object with the password masked.
POST /email/test
Sends a test email to verify that the SMTP configuration is working.Parameters
Recipient email address for the test message.
Response
true if wp_mail() returned successfully.Confirmation or error message.
GET /email/log
Returns a paginated list of sent and failed email attempts logged by the plugin.Parameters
Page number. Defaults to
1.Results per page. Defaults to
50, maximum 200.Filter by status:
sent or failed. Omit to return all entries.Response
Total log entries.
Current page.
Results per page.
Total pages.
DELETE /email/log/clear
Permanently deletes all email log entries.Response
Always
true on success.