From a041cfe9806d7089d469e14da125adab4a93a5ab Mon Sep 17 00:00:00 2001 From: leseb Date: Sat, 15 Jun 2002 19:26:09 +0000 Subject: Fix --- (limited to 'noncore/unsupported') 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() _state = Mail; } else if (_state == Mail && responseCode == 250) { emit status(tr("SMTP> MAIL FROM: *")); - sendToSocket("MAIL FROM: " + _account.email() + "\r\n"); + sendToSocket("MAIL FROM: <" + _account.email() + ">\r\n"); _state = Rcpt; } else if (_state == Rcpt && responseCode == 250) { emit status(tr("SMTP> RCPT TO: *")); - sendToSocket("RCPT TO: " + _to + "\r\n"); + sendToSocket("RCPT TO: <" + _to + ">\r\n"); _state = Data; } else if (_state == Data && responseCode == 250) { emit status(tr("SMTP> DATA")); -- cgit v0.9.0.2