Skip to content

Spam classify

Input

Message

Raw email message to classify for spam.

Text, over several lines if needed. Name in the API: message.

Remote IP

Remote IP address of the SMTP client.

An IP address. Name in the API: remoteIp.

EHLO Domain

EHLO domain provided by the SMTP client.

Text. Name in the API: ehloDomain.

Authenticated As

Authentication identity of the SMTP client, if authenticated.

Text. Name in the API: authenticatedAs.

TLS Enabled

Whether the SMTP connection is secured with TLS.

On or off. Default: On. Name in the API: isTls.

MAIL FROM

MAIL FROM address provided by the SMTP client.

An email address. Name in the API: envFrom.

MAIL FROM Parameters

Parameters related to the MAIL FROM address.

One of: 7-bit message content (bit7), (bit8Mime - 8-bit MIME message content), Binary MIME message content (binaryMime), UTF-8 message content (smtpUtf8). Name in the API: envFromParameters.

RCPT TO

List of RCPT TO addresses provided by the SMTP client.

A list. Each one: an email address. Name in the API: envRcptTo.

Results

Score

Spam score for the classified message.

A number. Default: 0. Read only. Name in the API: score.

Result

Overall spam classification result for the message.

One of: Classify as spam (spam), Classify as non-spam (ham) (ham), Reject message (reject), Discard message (discard). Read only. Name in the API: result.

Tags

List of tags contributing to the spam classification of the message.

A set of entries, each a key and its value. Read only. Name in the API: tags.