Click here to Skip to main content
15,504,703 members
Articles / Desktop Programming / MFC
Article
Posted 20 Mar 2002

Stats

96.7K views
2.4K downloads
24 bookmarked

Spam Killer

Rate me:
Please Sign up or sign in to vote.
2.63/5 (8 votes)
20 Mar 2002
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 13:18
syed rahman29-Oct-08 13:18 
Questionspamkiller by hirosh Pin
cheezuka19-Feb-07 8:55
cheezuka19-Feb-07 8:55 
Generalsmall error Pin
BaldwinMartin30-Nov-03 2:18
BaldwinMartin30-Nov-03 2:18 
GeneralRe: small error Pin
cheezuka19-Feb-07 9:38
cheezuka19-Feb-07 9:38 
GeneralBlocking virus mails Pin
paldll13-Mar-03 6:55
paldll13-Mar-03 6:55 
GeneralRe: Blocking virus mails Pin
soundman3228-Apr-03 6:48
soundman3228-Apr-03 6:48 
GeneralRe: Blocking virus mails Pin
paldll28-Apr-03 10:08
paldll28-Apr-03 10:08 
GeneralSpam Killer for AOL Pin
Member 25373524-Feb-03 9:56
Member 25373524-Feb-03 9:56 
QuestionHow can you use a anti-spam database like ordb.org Pin
15-Apr-02 9:58
suss15-Apr-02 9:58 
AnswerRe: How can you use a anti-spam database like ordb.org Pin
Blake Miller25-Feb-05 9:22
Blake Miller25-Feb-05 9:22 
QuestionHiding original IP anybody have an idea? Pin
Hirosh25-Mar-02 4:14
Hirosh25-Mar-02 4:14 
AnswerRe: Hiding original IP anybody have an idea? Pin
cprogrammer16-May-02 22:18
cprogrammer16-May-02 22:18 
AnswerRe: Hiding original IP anybody have an idea? Pin
tadghe6-Aug-02 15:44
tadghe6-Aug-02 15:44 
GeneralRe: Hiding original IP anybody have an idea? Pin
Hirosh7-Aug-02 11:18
Hirosh7-Aug-02 11: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.