Hello, BigMan:
On Wed, 1 Dec 2004 09:55:08 +0200: you wrote...
B> How, if possible, does one write a console (command prompt) script to
B> send e-mail with an attachment using software that ships with Windows XP
B> Pro only?
B>
Using VBScript and CDO, IIS SMTP service runnig on localhost...
'SampleSend.vbs
'Sending a text email with an attached file
Set objMessage = CreateObject("CDO.Message")
objMessage.Subject = "Example CDO Message"
objMessage.Sender = "(e-mail address removed)"
objMessage.To = "(e-mail address removed)"
objMessage.TextBody = "This is some sample message text."
objMessage.AddAttachment "c:\temp\readme.txt"
objMessage.Send
For other examples including using a remote server with authentication
http://www.paulsadowski.com/WSH/cdo.htm
Regards, Paul R. Sadowski [MVP].