Have a look at Blat.exe. A simple command line e-mail tool. I use it a lot and it works great.

 Code:
$Sender = "sender@@yourdomain.com"
;Set a recipient address.
$Recipients = "recipient@@yourdomain.com"
;Set the subject.
$Subject = '"Subject"'
;SMTP server to be used for sending the message.
$smtpserver = "mailserver"
;Create the body text.
$Body = '"Message body"'
;Send the message.
$Send = BlatMailerNoAttachment($Recipients, $Sender, $Subject, $Body, $smtpserver)

Function BlatMailerNoAttachment($Recipient, $Sender, $Subject, $Body, $smtpserver)
	Dim $MailerLine
	$MailerLine = 'patht\blat.exe -' + ' -to ' + $recipient + ' -f ' + $sender + ' -subject ' + $subject + ' -body ' + $body + ' -server ' + $smtpserver + ' -q '
	Shell $MailerLine
EndFunction
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.