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

List of possible error codes? #1957

Closed
hagenbuch opened this issue Feb 3, 2020 · 4 comments
Closed

List of possible error codes? #1957

hagenbuch opened this issue Feb 3, 2020 · 4 comments

Comments

@hagenbuch
Copy link

hagenbuch commented Feb 3, 2020

After trying to find a list of possible return codes that are not 0 from PHPMailer, I have to ask this question:

Is there a list somewhere, containing all or at least the most common error codes?

I don't need translations, I'll have to provide that myself.

BTW I'd be happy to translate those error codes into German right away if this list exists.

Cheers
Andreas

@Synchro
Copy link
Member

Synchro commented Feb 3, 2020

There isn't such a list - I think what you're asking for is what's discussed in #1579, which has been open for a while. There are numerous error messages that are codified and mapped into the translations available in the language folder. Does that help?

@hagenbuch
Copy link
Author

Definitely, many thanks! I hope I can find the numeric definitions of the variable indices.. e.g. what message is mapped to which returncode.

@Synchro
Copy link
Member

Synchro commented Feb 3, 2020

There are no numeric ones, but if you search for all occurrences of lang(, you'll see all the places that errors are thrown or saved, so for example authentication errors will have an identifier of authenticate, connection errors use connect_host, and so on - all the array keys you'll see in the language files.

@hagenbuch
Copy link
Author

Great, thanks!

@Synchro Synchro closed this as completed Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants