Click here to Skip to main content
15,904,023 members
Articles / Desktop Programming / MFC
Article

SMTP server stress tester

Rate me:
Please Sign up or sign in to vote.
3.00/5 (2 votes)
20 Mar 2002 111K   3.8K   23   12
stress test your SMTP server by sending a large number of emails

Sample Image - SMTPstress.jpg

Introduction

SMTP stress checker is a utility for stress testing SMTP servers. Using this we can send a large number of mails within a short time in order to check the capacity of the SMTP server.

I used this program when I wrote the spam killer. It creates multiple threads and sends the emails simultaneously.

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

 
GeneralSMTP Server Pin
shruthi82122-May-08 1:34
shruthi82122-May-08 1:34 
Generalit doesnt work Pin
inderabangsawan9-Mar-08 18:56
inderabangsawan9-Mar-08 18:56 
Generalyou never reply Pin
inderabangsawan9-Mar-08 18:45
inderabangsawan9-Mar-08 18:45 
Questioncan not find SMTP server Pin
includeh1028-Apr-04 18:22
includeh1028-Apr-04 18:22 
AnswerRe: can not find SMTP server Pin
gamitech12-Jun-04 13:16
gamitech12-Jun-04 13:16 
GeneralRe: can not find SMTP server Pin
zoz15-Oct-05 23:41
zoz15-Oct-05 23:41 
GeneralMFC implementation would be better Pin
John Aldrich1-Jul-03 14:30
John Aldrich1-Jul-03 14:30 
I have rated this article a 1. Please see my reasons below.

When creating applications such as this, it's a better idea to use the MFC classes for handling threads rather than using the core Win32 API methods. The reasons for this is that it's less prone to errors in that the MFC was designed to facilitate better functioning and more programmer-friendly (readable) code.

I noticed that you make several calls to GetDlgItemText() which are all clustered together. This is confusing in that someone else reading the code can't be exactly sure what is what. If you would have implemented this in the MFC it would have been alot more clear and compartmentalized as each item in your dialogs would have had a member varible which you could use to access that item exclusively and also provide some kind of an indicator as to what is what.

You threading also seems to be a little strange in that you do absolutely no error checking internally as far as I can see. One bad message from the STMP server could totally kill your thread and lock the application. these are things that need to be factored in when you do anything like sending emails.

I would strongly suggest that you update your code to use the MFC a sit will only end up helping you in the long run.


It's good to see kids turning their minds to wholesum activities such as programming, instead of wasting their lives in the hedonistic disciplines of Sex, Drugs, & Rock & Roll... or Sex with Drugs, or Sex with Rocks while Rolling in Drugs, or whatever new-fangled perversions you little monsters have thought up now...

[Shog9 on Kid Programmers]

Generalbulk mail Pin
31-Mar-02 23:48
suss31-Mar-02 23:48 
QuestionHow to send mass-mailing? Pin
25-Mar-02 23:48
suss25-Mar-02 23:48 
QuestionHiding original IP -anybody have an idea? Pin
Hirosh25-Mar-02 2:06
Hirosh25-Mar-02 2:06 
AnswerRe: Hiding original IP -anybody have an idea? Pin
Anonymous24-Jul-02 11:33
Anonymous24-Jul-02 11:33 
GeneralRe: Hiding original IP -anybody have an idea? Pin
noneof2-Nov-02 20:06
noneof2-Nov-02 20:06 

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.