diff options
Diffstat (limited to 'src/pop3.c')
-rw-r--r-- | src/pop3.c | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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; } |