The base URL, credentials, and transport options.
Submits one training example.
rawMime must be the exact raw RFC 822 bytes that mxRaven processed; the
service matches them against stored evidence by SHA-256. A message with no
matching evidence fails with a FeedbackError whose statusCode is
404.
The training label to apply.
The exact raw message bytes.
An optional cancellation signal.
The service's learning result.
FeedbackError When the service returns a non-success status.
Teaches the spam filter that rawMime is not spam.
Teaches the spam filter that rawMime is spam.
Performs an RFC 8058 one-click unsubscribe for a token.
This is the operation a recipient mail client performs against the
List-Unsubscribe URL; applications rarely call it directly. It is
unauthenticated.
The signed unsubscribe token.
An optional cancellation signal.
FeedbackError When the service returns a non-success status.
Calls the mxRaven feedback service.
Learning requests authenticate with the same submission API key used for SMTP submission, over HTTP Basic auth. A client is safe for concurrent use.
Example