receive_email
Fetch new POP3 email from a device's Email app in Packet Tracer. Messages are deleted from the server, so capture the returned mail.
Instructions
Press Receive in the Email app: download the account's new mail over POP3 and return it. Like a real POP3 client, the mail is removed from the server; Packet Tracer does not expose the app's inbox, so keep what this returns.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | Device whose Email app receives, set up with `configure_email`. | |
| timeout_secs | No | Seconds to wait for mail. Defaults to 10; an empty mailbox answers after this long. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mails | Yes | ||
| device | Yes |