diff options
author | Ian C <ianc@noddybox.co.uk> | 2003-12-05 02:33:05 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2003-12-05 02:33:05 +0000 |
commit | c25680ee19e813f15f54b5abd43062bace295852 (patch) | |
tree | 24a5df3fabdad7c14f934973384098b8cc2717b4 /src/pop3.c | |
parent | 8520befe602e9b90d455342068a623f2cf89f631 (diff) |
Initial working version
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; } |