Hi everybody!
I just started to experiment with e-mail functionality.
Looks like CDO would do for me ( I probably will ned HTML formatting therefor can't use MAPI). Here is small part of the program ( based on Mikes examples) that i am trying to test.
LOCAL oMSG,oAtt
oMSG = CREATEOBJECT("cdo.message"
oMSG.To = "scklifasovskiy@hotmail.com"
oMSG.From = "me"
oMSG.Subject = "Hello Email"
oMSG.TextBody = "This is an easy way to create an email"
oAtt=oMSG.AddAttachment('c:\finreport.txt')
oMSG.Send()
Simply saying it does't do anything. What am I doing wrong ?
I just started to experiment with e-mail functionality.
Looks like CDO would do for me ( I probably will ned HTML formatting therefor can't use MAPI). Here is small part of the program ( based on Mikes examples) that i am trying to test.
LOCAL oMSG,oAtt
oMSG = CREATEOBJECT("cdo.message"
oMSG.To = "scklifasovskiy@hotmail.com"
oMSG.From = "me"
oMSG.Subject = "Hello Email"
oMSG.TextBody = "This is an easy way to create an email"
oAtt=oMSG.AddAttachment('c:\finreport.txt')
oMSG.Send()
Simply saying it does't do anything. What am I doing wrong ?