Mika Scraper / TempMailMessage
Interface: TempMailMessage
Defined in: src/temp-mail/tempmail.ts:32
Represents the structure of a raw email message returned by the inbox endpoint of the Mika Scraper.
Indexable
[key: string]: any
Properties
from
- Type:
string - Defined in:
src/temp-mail/tempmail.ts:33 - Description: The email address of the sender.
subject
- Type:
string - Defined in:
src/temp-mail/tempmail.ts:34 - Description: The subject line of the email message.
body
- Type:
string - Defined in:
src/temp-mail/tempmail.ts:35 - Description: The content of the email message.
date
- Type:
string - Defined in:
src/temp-mail/tempmail.ts:36 - Description: The date and time when the email was received.
id
- Type:
string - Defined in:
src/temp-mail/tempmail.ts:37 - Description: A unique identifier for the email message.
Example Usage
const exampleEmail: TempMailMessage = {
from: "sender@example.com",
subject: "Welcome to Mika Scraper",
body: "Thank you for signing up!",
date: "2023-10-01T12:00:00Z",
id: "123456789"
};Last updated on