Skip to content

Any 5xx error from SMTP server becomes a strange internal error #13

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

Closed
akudiyar opened this issue Aug 16, 2019 · 2 comments · Fixed by #53
Closed

Any 5xx error from SMTP server becomes a strange internal error #13

akudiyar opened this issue Aug 16, 2019 · 2 comments · Fixed by #53
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@akudiyar
Copy link

For example., the server (mock) is set up for returning a 510 code for some sort of e-mails. The server returns "510 Bad email address" in that case.
On the client side, I want to see the exact response code and error message, but instead I get a runtime error with message "SMTP error 55 (os errno 0)".

The proposed changes to the client: check the response code and return it back with the error message

 long response;
 curl_easy_getinfo(handle, CURLINFO_RESPONSE_CODE, response); 
@RunsFor
Copy link

RunsFor commented Nov 20, 2019

I'm receiving runtime error from smtp client when server sends 3xx,4xx and 5xx status codes:

SMTP error 55 (os errno 61)

@RunsFor
Copy link

RunsFor commented Nov 20, 2019

If SMTP server responds with some weird message, i.e. '1000 UNKNOWN ERROR\r\n', smtp client even hangs up.

@Totktonada Totktonada added the bug Something isn't working label Jul 9, 2020
@Totktonada Totktonada added the good first issue Good for newcomers label Aug 18, 2020
@Totktonada Totktonada added backlog Issues for upcoming releases (to be done soon) prio5 teamE labels Dec 21, 2020
@Totktonada Totktonada removed backlog Issues for upcoming releases (to be done soon) prio5 labels Nov 3, 2021
vr009 added a commit that referenced this issue Dec 19, 2021
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx and 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Dec 20, 2021
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx and malformed codes. This patch fixes the problem,
when on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Dec 29, 2021
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx and malformed codes. This patch fixes the problem,
when on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Dec 29, 2021
vr009 added a commit that referenced this issue Dec 30, 2021
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx and malformed codes. This patch fixes the problem,
when on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 11, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx and malformed codes. This patch fixes the problem,
when on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 14, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 14, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 20, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 20, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 20, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 20, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 20, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 21, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 21, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 21, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 21, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 21, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 24, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 24, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

Fixes #13
vr009 added a commit that referenced this issue Jan 24, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

The value of key for cache-step bumped to v4. That is needed
for changing postfix of the key. During testing of changes
there were troubles with cache-reload described and reported
in github/docs#14145.

Fixes #13
vr009 added a commit that referenced this issue Jan 25, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

The value of key for cache-step bumped to v4. That is needed
for changing postfix of the key. During testing of changes
there were troubles with cache-reload described and reported
in github/docs#14145.

Fixes #13
vr009 added a commit that referenced this issue Jan 31, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

The value of key for cache-step bumped to v4. That is needed
for changing postfix of the key. During testing of changes
there were troubles with cache-reload described and reported
in github/docs#14145.

Fixes #13
vr009 added a commit that referenced this issue Jan 31, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

The value of key for cache-step bumped to v4. That is needed
for changing postfix of the key. During testing of changes
there were troubles with cache-reload described and reported
in github/docs#14145.

Fixes #13
vr009 added a commit that referenced this issue Jan 31, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

The value of key for cache-step bumped to v4. That is needed
for changing value of the key. During testing of changes
there were troubles with cache-reload described and reported
in github/docs#14145.

Fixes #13
Totktonada pushed a commit that referenced this issue Jan 31, 2022
In case server has some settings, which don't let some
types of SMTP request to be handled, SMTP client may receive
5xx, 4xx, 3xx codes. This patch fixes the problem, when
on the client side this SMTP codes are not handled normally.
Instead of runtime error and unusual message that there is
some connection error.

The value of key for cache-step bumped to v4. That is needed
for changing value of the key. During testing of changes
there were troubles with cache-reload described and reported
in github/docs#14145.

Fixes #13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants