MultiMail 2.0 - Freeware SMTP stress testing tool






4.79/5 (30 votes)
Feb 22, 2002
2 min read

393666

12617
This free program can be used to stress test SMTP servers. It also aids anti-Spam tool developers as a useful mail-bombardment tool.
About MultiMail 2.0
MultiMail 2.0 is a multi-threaded SMTP stress testing program which also doubles up as a handy tool for anti-Spam software development. It starts multiple threads, each sending a large number of mails in parallel to a specified SMTP server. MultiMail 2.0 is freeware and can be used by anyone without the author's explicit permission.
How it came about?
Version 1.0
I wrote the first version while I was developing my own anti-Spam program Pop 3 Protector (discontinued). I used it to bombard test POP accounts with a large amount of email from multiple fake email addresses and with multiple subject headers.
A few months ago [here the current time is Feb 2002], I was asked to try out three different Linux based SMTP servers and decide on the fastest one. That's when I got a chance to use this tool once again. I sent huge amounts of mail through each server and recorded connection and mail delivery speeds. To increase the load I made the program multi-threaded. The user can set the number of threads to use. In this particular version I have restricted this number to 10, to prevent malicious people from misusing this program. But for anyone who wants to use this as an SMTP stress tester, 10 threads running in parallel, each thread sending 1000 mails each, should be quite good enough.
Actually there is a sneaky way to over-ride the restrictions, which is by running multiple instances of the program. But for some strange reason I have noticed that this will considerably slow down the user's machine and I hope that will deter people from trying it out.
Version 2.0
Version 2.0 uses the ATL7 SMTP and MIME classes and so I have removed all my Winsock-SMTP-chat code from the program. This has enabled me to add support for attachments which is quite handy.
Sending mail using the ATL7 classes
- Include the required header file
#include <atlsmtpconnection.h>
CoInitialize
CoInitialize(0);
CMimeMessage msg; msg.SetSender(strSender); msg.AddRecipient(strRecepient); //Optional msg.SetSubject(strSubject); msg.AddText(strBody); msg.AttachFile(strAttachFile); CSMTPConnection conn; conn.Connect(server); BOOL bSuccess = conn.SendMessage(msg); conn.Disconnect();
- Call
CoUninitialize
CoUninitialize();
History
- v1.0 - 22 Feb 2002
- v2.0 - 05 Oct 2003