summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mail2/libmail/smtphandler.cpp4
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
@@ -124,3 +124,3 @@ void SmtpHandler::readyRead()
emit status(tr("SMTP> MAIL FROM: *"));
- sendToSocket("MAIL FROM: " + _account.email() + "\r\n");
+ sendToSocket("MAIL FROM: <" + _account.email() + ">\r\n");
_state = Rcpt;
@@ -128,3 +128,3 @@ void SmtpHandler::readyRead()
emit status(tr("SMTP> RCPT TO: *"));
- sendToSocket("RCPT TO: " + _to + "\r\n");
+ sendToSocket("RCPT TO: <" + _to + ">\r\n");
_state = Data;