box.aliases.list(); // ["hi@example.com", "contact@example.com"]
box.aliasList; // the same arraybox.aliases.list() # ["hi@example.com", "contact@example.com"]
box.alias_list # the same listIt is not a call
The aliases come with the mailbox, so listing them is reading a field. Everything that changes them refreshes the object.
What an alias is
| An alias | Is not |
|---|---|
| Another address that arrives here | A second mailbox |
| Counted as an alias in usage() | Counted as a mailbox |
| Deleted with the mailbox | Independent |
An alias is the cheap way to have several addresses
Three addresses landing in one mailbox cost one mailbox in the plan. Three mailboxes cost three — and are three places to look.
Sending is from the mailbox's own address
An alias receives; it is not an identity to write from. send() goes out as the mailbox.