Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return the object instead of an error if the mail does not exist #45

Open
ghost opened this issue Jul 8, 2021 · 0 comments
Open

Return the object instead of an error if the mail does not exist #45

ghost opened this issue Jul 8, 2021 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ghost
Copy link

ghost commented Jul 8, 2021

Hi!

I send to a non-existent email and get an error 550:
Uncaught (in promise) Error: 550: Message was not accepted -- invalid mailbox. Local mailbox [email protected] is unavailable: user is terminated

Can I return the object?
for instance:

{
    status: 404,
    payload: Message was not accepted, invalid mailbox
}

Спасибо!

@manyuanrong manyuanrong added enhancement New feature or request good first issue Good for newcomers labels Jul 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant