Click here to Skip to main content
15,893,668 members
Articles / Programming Languages / C++

MultiMail 2.0 - Freeware SMTP stress testing tool

Rate me:
Please Sign up or sign in to vote.
4.79/5 (32 votes)
3 Oct 20032 min read 387.1K   12.6K   50  
This free program can be used to stress test SMTP servers. It also aids anti-Spam tool developers as a useful mail-bombardment tool.
// MultiMail2Dlg.h : header file
//

#pragma once
#include "afxwin.h"


// CMultiMail2Dlg dialog
class CMultiMail2Dlg : public CDialog
{
// Construction
public:
	CMultiMail2Dlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	enum { IDD = IDD_MULTIMAIL2_DIALOG };

	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support


// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnBnClickedOk();
	afx_msg void OnBnClickedCancel();
	CComboBox m_ThreadsCombo;	
	CEdit m_SmtpServer;
	CEdit m_Count;
	CEdit m_Tot;
	CEdit m_From;
	CEdit m_To;
	CEdit m_Subject;
	CEdit m_BodyFile;
	CEdit m_AttachFile;
	afx_msg void OnBnClickedButtonBrowseBody();
	afx_msg void OnBnClickedButtonBrowseAttachment();
	afx_msg void OnEnChangeEditCount();
	afx_msg void OnCbnSelchangeComboThreads();
	void UpdateTotalCount(void);
	afx_msg void OnBnClickedButtonGo();
	CListBox m_LogList;
	void SaveSettings(void);
	void LoadSettings(void);
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

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
United States United States
Nish Nishant is a technology enthusiast from Columbus, Ohio. He has over 20 years of software industry experience in various roles including Chief Technology Officer, Senior Solution Architect, Lead Software Architect, Principal Software Engineer, and Engineering/Architecture Team Leader. Nish is a 14-time recipient of the Microsoft Visual C++ MVP Award.

Nish authored C++/CLI in Action for Manning Publications in 2005, and co-authored Extending MFC Applications with the .NET Framework for Addison Wesley in 2003. In addition, he has over 140 published technology articles on CodeProject.com and another 250+ blog articles on his WordPress blog. Nish is experienced in technology leadership, solution architecture, software architecture, cloud development (AWS and Azure), REST services, software engineering best practices, CI/CD, mentoring, and directing all stages of software development.

Nish's Technology Blog : voidnish.wordpress.com

Comments and Discussions