Here's an example on how to send mail using blat. You should change the senders address and the recipient. Also the mail server should be changed to fit your situation. This script requires blat, you can download it here: http://www.blat.net/. Depending on where you put the blat executable you should also change the path in the $mailerline variable.

Blat is able to send attachments but I left it out in the example. On the blat website there are some examples on how to use blat with kixtart.

 Code:
Break on

$Sender = "sender@@domain.tld"
$Recipients = "recipient@@domain.tld"
$Subject ='"subject"'
$Body='"Messagebody text"'
$Send = BlatMailer($Recipients,$Sender,$Subject,$Body)


Function BlatMailer($Recipient,$Sender,$Subject,$Body)
	Dim $SMTPServer,$MailerLine
	$SMTPServer='IP address or DNS name of you mailserver' 
	$MailerLine='d:\blat.exe -' + ' -to ' + $Recipient + ' -f ' + $Sender + ' -subject ' + $Subject + ' -body ' + $Body + ' -server ' + $SMTPServer + ' -q '
	Shell $MailerLine
EndFunction


The credits for the BlatMailser UDF should go to Doc iirc. Thanks Doc.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.