Small library for reading mail messages via POP3. Currently doesn\'t return all header fields, and does only plain text authorization.

Dependents:   mmain pop3demo

Revision:
1:f2b05d1c91be
Parent:
0:ec8a3cef200d
Child:
2:3893c1aaee8d
--- a/pop3.cpp	Mon Jan 10 21:11:01 2011 +0000
+++ b/pop3.cpp	Tue Jan 11 21:35:35 2011 +0000
@@ -1,6 +1,10 @@
-p#include "pop3.h"
+#include "Timer.h"
+
+#include "pop3.h"
 #include "dnsresolve.h"
 
+using namespace mbed;
+
 class Pop3CommandResponse
 {
     public:
@@ -101,8 +105,7 @@
     delete pcr;
     if (deleteOnReceive)
     {
-        pcr=deleteMessage(id);
-        delete pcr;
+        deleteMessage(id);
     }
     return msg;
 }