Skip to content

Allow hyphens in inbox names #1

Description

@ckenst

The CLI rejects inbox names containing hyphens, even though Mailinator accepts and delivers mail to these addresses.

For example, an email was successfully delivered to:
kenst-vibium-0722@mailinator.com

However, attempting to retrieve it with the CLI fails:
mailinator-cli inbox kenst-vibium-0722 public

Output:

Validation Error: Inbox name must be alphanumeric with optional dots (not at the beginning or end).

Calling the Mailinator API through the underlying client successfully returned the inbox and its messages, confirming that the failure occurs in the CLI’s local input validation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions