I’m using Win98, VFP6 & Outlook Express "Outlook.Application". The error message is “Your Microsoft Exchange Server is unavailable…..etc…..Retry, Work offline…. What can I do to resolve this. Could you gave me hint. I do not have exchange server setup.
here is the code I'm using...
oApp=CreateObject("Outlook.Application")
NameSpace= oApp.GetNameSpace("MAPI")
MailItem = oApp.CreateItem(0)
MailItem.Recipients.Add("
mazar@ala.net") &&sample adress
MailItem.Subject = "my autoexec.bat" &&sample subject
MailItem.Attachments.Add = "c:\autoexec.bat" &&sample file
MailItem.Send
NameSpace.Logoff
Thanks Mike