The easiest way is probably using vbscript and Outlook, provided the computer has both installed. Otherwise, do a search in this thread and you'll come up with some SMTP and Blat options.
Here is a sample I got from this thread somewhere. Sorry, I can't give proper credit to the author:
'To run this in fox, use something like: !/n Wscript email.vbs
set objoutlook=CreateObject("Outlook.Application"
set objmail=objoutlook.CreateItem(0)
objmail.Recipients.Add("sombody@somewhere.com"
objmail.Subject = "Email Script Test"
objmail.cc = "sombodyelse@somewhere.com"
objmail.Body = vbcrlf&" Body Message Here."
objmail.Attachments.Add("c:\autoexec.bat"
objmail.Send
'objoutlook.quit 'uncomment to close outlook
set objmail=nothing
set objoutlook=nothing
------------- to here -----------------------------------
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.