Email
Alguien me puede escribir unas lineas de como mandar un email desde un programa en Fox??
Gracias
Gracias
Si quieres mas información, regÃstrate en mi sitio y escribe tus consultas. www.empresadae.cl
LPARAMETERS strProfile,strPassword,strRecipient,strSubject,strBody
*//
theApp = CreateObject("Outlook.Application")
theNameSpace = theApp.GetNameSpace("MAPI")
theNameSpace.Logon(strProfile , strPassword)
theMailItem = theApp.CreateItem(0)
*//
theMailItem.Recipients.Add(strRecipient)
theMailItem.Subject = strSubject
theMailItem.Body = strBody
theMailItem.Send
theNameSpace.Logoff
LPARAMETERS strProfile,strPassword,strRecipient,strSubject,strBody
*//
theApp = CreateObject("Outlook.Application")
theNameSpace = theApp.GetNameSpace("MAPI")
theNameSpace.Logon(strProfile , strPassword)
theMailItem = theApp.CreateItem(0)
*//
theMailItem.Recipients.Add(strRecipient)
theMailItem.Subject = strSubject
theMailItem.Body = strBody
theMailItem.Send
theNameSpace.Logoff
