summaryrefslogtreecommitdiff
path: root/src/pop3.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pop3.c')
-rw-r--r--src/pop3.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/pop3.c b/src/pop3.c
index 8fd2750..660283e 100644
--- a/src/pop3.c
+++ b/src/pop3.c
@@ -496,7 +496,15 @@ end:
POP3Status POP3Delete(int msg)
{
- return POP3_OK;
+ char buff[256];
+
+ sprintf(buff,"DELE %d",msg);
+ Send(buff,(const char *)NULL);
+
+ if (GetResponse(NULL))
+ return POP3_OK;
+ else
+ return POP3_BADDELETE;
}