I got an email the other day from someone who’d been at my session at IT Forum (UCM313 – Antispam Enhancements in Exchange 2003 SP2), where I’d done a few demos of sending SPAM, in order to show how Exchange could deal with it. I’d used a command line SMTP utility to send SPAM messages directly to port 25 on the server…
The questioner asked how I’d done that – the answer, using a free tool from Craig Peacock called BMail, where I had a few CMD files set up to send mail from a text file dragged onto the CMD file.
C:\>bmail /?
Command Line SMTP Emailer V1.07 Copyright(C) 2002-2004 Craig.Peacock@beyondlogic.org
Usage: bmail [options]
-s SMTP Server Name
-p SMTP Port Number (optional, defaults to 25)
-t To: Address
-f From: Address
-b Text Body of Message (optional)
-h Generate Headers
-a Subject (optional)
-m Filename (optional) Use file as Body of Message
-c Prefix above file with CR/LF to separate body from header -d Debug (Show all mail server communications)
Ueful little tool for my demo, but also potentially good for automating the sending of log files, sending status messages etc.
//Ewan