Click here to Skip to main content
15,896,063 members
Articles / Desktop Programming / MFC
Article

Spam Killer

Rate me:
Please Sign up or sign in to vote.
2.63/5 (8 votes)
20 Mar 2002 98.6K   2.4K   24   14
Delete unwanted mails from your PO3 server

Sample Image - spamkiller.jpg

Introduction

Spam killer deletes unwanted emails from your POP3 server and cleans out your mailbox. It can filter the subject, from, to, and size fields. The program is very simple.

After authentication it sends the STAT command to the server, A sample response of the STAT command is given below

C: STAT
S: +OK 2 320

From this we know the number of emails in the server Then it send the LIST command to server. A sample response of the LIST command is given below

C: LIST
S: +OK 2 messages (320 octets)
S: 1 120
S: 2 200
S: .

Then it check the size of each mail and filters out those emails that are too large. Once this is done the application sends the TOP nmessage 0 command to the server. It can then retrieve the headers from the messages and filter mails the given subject, from, and To strings.

Once this is done our mailbox will be clean!

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Web Developer
United States United States
just like to sh*t all the time now!!!!!dont know why..
Homepage- www.hirosh.tk

Comments and Discussions

 
QuestionNeed some help plz Pin
syed rahman29-Oct-08 12:18
syed rahman29-Oct-08 12:18 
Questionspamkiller by hirosh Pin
cheezuka19-Feb-07 7:55
cheezuka19-Feb-07 7:55 
Generalsmall error Pin
BaldwinMartin30-Nov-03 1:18
BaldwinMartin30-Nov-03 1:18 
GeneralRe: small error Pin
cheezuka19-Feb-07 8:38
cheezuka19-Feb-07 8:38 
GeneralBlocking virus mails Pin
paldll13-Mar-03 5:55
paldll13-Mar-03 5:55 
GeneralRe: Blocking virus mails Pin
soundman3228-Apr-03 5:48
soundman3228-Apr-03 5:48 
GeneralRe: Blocking virus mails Pin
paldll28-Apr-03 9:08
paldll28-Apr-03 9:08 
GeneralSpam Killer for AOL Pin
Member 25373524-Feb-03 8:56
Member 25373524-Feb-03 8:56 
QuestionHow can you use a anti-spam database like ordb.org Pin
15-Apr-02 8:58
suss15-Apr-02 8:58 
AnswerRe: How can you use a anti-spam database like ordb.org Pin
Blake Miller25-Feb-05 8:22
Blake Miller25-Feb-05 8:22 
QuestionHiding original IP anybody have an idea? Pin
Hirosh25-Mar-02 3:14
Hirosh25-Mar-02 3:14 
AnswerRe: Hiding original IP anybody have an idea? Pin
cprogrammer16-May-02 21:18
cprogrammer16-May-02 21:18 
I think if anybody has any idea, they should not post it here.
With great knowledge comes great responsibility.

carpe diem
AnswerRe: Hiding original IP anybody have an idea? Pin
tadghe6-Aug-02 14:44
tadghe6-Aug-02 14:44 
GeneralRe: Hiding original IP anybody have an idea? Pin
Hirosh7-Aug-02 10:18
Hirosh7-Aug-02 10:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.