You can use CDO (which requires cdosys.dll - installed by default on XP- and an SMTP service running on the computer)
oMSG = CREATEOBJECT('cdo.message')
oMSG.To = 'me@nowhere.com'
oMSG.From = 'me'
oMSG.Subject = 'Hello Email'
oMSG.TextBody = 'This is an easy way to create an email'
oMSG.Send()
>Hi,
>Does anyone know what the best way to send mail automatically is?
>I think I can use SendMail but that means that I have to have outlook installed and the mail will get sent from the account of the logged in user running the app.
>Otherwise I am wondering if there's a way of using CDONTS as Vis Fox is packaged with .net?
>
>Any advise apreciated.
>
>David.