summaryrefslogtreecommitdiff
path: root/noncore/unsupported/mailit/smtpclient.cpp
authorgroucho <groucho>2003-04-24 11:19:11 (UTC)
committer groucho <groucho>2003-04-24 11:19:11 (UTC)
commit9671975e21266e3bfa6f3c793a3278b67cea34b7 (patch) (side-by-side diff)
tree876c77939cfd0e00fc844b1b5af09b2978564a6d /noncore/unsupported/mailit/smtpclient.cpp
parent51e782b9658de61dc02579e115a9c62f396609a3 (diff)
downloadopie-9671975e21266e3bfa6f3c793a3278b67cea34b7.zip
opie-9671975e21266e3bfa6f3c793a3278b67cea34b7.tar.gz
opie-9671975e21266e3bfa6f3c793a3278b67cea34b7.tar.bz2
- reworked size filtering
- started reworking offline download - better tab focus switching - Hello "Whats this" capability - Fixed parsing of To: header files (no more Delivered-To: and Reply-To: matches) - Good bye Settings.txt, hello Config Objects and encrypted passwords - Translation improvements (added trs) - Parser optimizations
Diffstat (limited to 'noncore/unsupported/mailit/smtpclient.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/unsupported/mailit/smtpclient.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/noncore/unsupported/mailit/smtpclient.cpp b/noncore/unsupported/mailit/smtpclient.cpp
index b2e38e5..8a51a5b 100644
--- a/noncore/unsupported/mailit/smtpclient.cpp
+++ b/noncore/unsupported/mailit/smtpclient.cpp
@@ -87,7 +87,6 @@ void SmtpClient::incomingData()
return;
response = socket->readLine();
- //qDebug(response);
switch(status) {
case Init: {
@@ -95,7 +94,6 @@ void SmtpClient::incomingData()
status = From;
mailPtr = mailList.first();
*stream << "HELO there\r\n";
- //qDebug("HELO");
} else errorHandling(ErrUnknownResponse);
break;
}
@@ -103,7 +101,6 @@ void SmtpClient::incomingData()
if (response[0] == '2') {
*stream << "MAIL FROM: " << mailPtr->from << "\r\n";
status = Recv;
- //qDebug("MAIL FROM: "+mailPtr->from);
} else errorHandling(ErrUnknownResponse);
break;
}
@@ -113,7 +110,6 @@ void SmtpClient::incomingData()
if (it == NULL)
errorHandling(ErrUnknownResponse);
*stream << "RCPT TO: " << *it << ">\r\n";
- //qDebug("RCPT TO: "+ *it);
status = MRcv;
} else errorHandling(ErrUnknownResponse);
break;
@@ -123,7 +119,6 @@ void SmtpClient::incomingData()
it++;
if ( it != mailPtr->to.end() ) {
*stream << "RCPT TO: <" << *it << ">\r\n";
- //qDebug("RCPT TO: "+ *it);
break;
} else {
status = Data;
@@ -134,7 +129,6 @@ void SmtpClient::incomingData()
if (response[0] == '2') {
*stream << "DATA\r\n";
status = Body;
- //qDebug("DATA");
emit updateStatus(tr("Sending: ") + mailPtr->subject);
} else errorHandling(ErrUnknownResponse);
break;
@@ -148,7 +142,6 @@ void SmtpClient::incomingData()
} else {
status = Quit;
}
- //qDebug("BODY");
} else errorHandling(ErrUnknownResponse);
break;
}
@@ -163,7 +156,6 @@ void SmtpClient::incomingData()
mailList.clear();
sending = FALSE;
socket->close();
- //qDebug("QUIT");
} else errorHandling(ErrUnknownResponse);
break;
}