-rw-r--r-- | noncore/unsupported/mail2/libmail/smtphandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/unsupported/mail2/libmail/smtphandler.cpp b/noncore/unsupported/mail2/libmail/smtphandler.cpp index 1bbad8b..d0a505d 100644 --- a/noncore/unsupported/mail2/libmail/smtphandler.cpp +++ b/noncore/unsupported/mail2/libmail/smtphandler.cpp | |||
@@ -122,11 +122,11 @@ void SmtpHandler::readyRead() | |||
122 | _state = Mail; | 122 | _state = Mail; |
123 | } else if (_state == Mail && responseCode == 250) { | 123 | } else if (_state == Mail && responseCode == 250) { |
124 | emit status(tr("SMTP> MAIL FROM: *")); | 124 | emit status(tr("SMTP> MAIL FROM: *")); |
125 | sendToSocket("MAIL FROM: " + _account.email() + "\r\n"); | 125 | sendToSocket("MAIL FROM: <" + _account.email() + ">\r\n"); |
126 | _state = Rcpt; | 126 | _state = Rcpt; |
127 | } else if (_state == Rcpt && responseCode == 250) { | 127 | } else if (_state == Rcpt && responseCode == 250) { |
128 | emit status(tr("SMTP> RCPT TO: *")); | 128 | emit status(tr("SMTP> RCPT TO: *")); |
129 | sendToSocket("RCPT TO: " + _to + "\r\n"); | 129 | sendToSocket("RCPT TO: <" + _to + ">\r\n"); |
130 | _state = Data; | 130 | _state = Data; |
131 | } else if (_state == Data && responseCode == 250) { | 131 | } else if (_state == Data && responseCode == 250) { |
132 | emit status(tr("SMTP> DATA")); | 132 | emit status(tr("SMTP> DATA")); |