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

Added multiline support in mailserver response (220-/250-) #117

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LangeSebastian
Copy link
Contributor

Added multiline support in server response.
The response codes 220 and 250 can be followed by a '-' sign to indicate a multiline response.
Since this is to be seen in one big response I added a loop continuing over the response lines if a '-' is found (or until the final line) in ServerPrivate::parseResponseCode(int expectedCode, Server::SmtpError defaultError, QByteArray *responseMessage)

I tested it against different mailservers and it solves our issue #113

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

Successfully merging this pull request may close these issues.

1 participant