Package com.mailosaur.models
Class Metadata
java.lang.Object
com.mailosaur.models.BaseModel
com.mailosaur.models.Metadata
Further metadata related to the message, including email headers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionheaders()Gets the message headers.helo()Gets the fully-qualified domain name or IP address that was provided with the Extended HELLO (EHLO) or HELLO (HELO) command.mailFrom()Gets the source mailbox/email address, referred to as the 'reverse-path', provided via the MAIL command during the SMTP transaction.rcptTo()Gets the recipient email addresses, each referred to as a 'forward-path', provided via the RCPT command during the SMTP transaction.Methods inherited from class com.mailosaur.models.BaseModel
nullableString
-
Constructor Details
-
Metadata
public Metadata()
-
-
Method Details
-
headers
Gets the message headers.- Returns:
- The message headers.
-
helo
Gets the fully-qualified domain name or IP address that was provided with the Extended HELLO (EHLO) or HELLO (HELO) command. This value is generally used to identify the SMTP client.- Returns:
- The fully-qualified domain name or IP address that was provided with the Extended HELLO (EHLO) or HELLO (HELO) command.
-
mailFrom
Gets the source mailbox/email address, referred to as the 'reverse-path', provided via the MAIL command during the SMTP transaction. https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.1.2- Returns:
- The source mailbox/email address, referred to as the 'reverse-path', provided via the MAIL command during the SMTP transaction.
-
rcptTo
Gets the recipient email addresses, each referred to as a 'forward-path', provided via the RCPT command during the SMTP transaction. https://datatracker.ietf.org/doc/html/rfc5321#section-4.1.1.3- Returns:
- Gets the recipient email addresses, each referred to as a 'forward-path', provided via the RCPT command during the SMTP transaction.
-