I tried running the second script in faq184-1768 as below:
oMSG = createobject("CDO.Message"
oMSG.To = "me@nowhere.com"
oMSG.From = "me@nowhere.com"
oMSG.Subject = "This doesnt Work!"
oMSG.AddAttachment("c:\blast\ahn03i.txt"
oMSG.AddAttachment("c:\blast\ahn05i.txt"
oMSG.Send()
Yes, I used real email addresses and Outlook was open in the background when I ran it from Foxpro 5.0.
I am using Office 2000 on a Windows 2000 machine.
I get the following program error:
OLE IDispatch exception code 0 from CDO.Message.1: The "SendUsing" configuration value is invalid.
Do you have any ideas on why I get this error?
Had another person try it from VB 6 on a Win2k machine running Office 2000 also. He got the same error.
Would appreciate any suggestions you might have.
Pat McGreevy
oMSG = createobject("CDO.Message"

oMSG.To = "me@nowhere.com"
oMSG.From = "me@nowhere.com"
oMSG.Subject = "This doesnt Work!"
oMSG.AddAttachment("c:\blast\ahn03i.txt"

oMSG.AddAttachment("c:\blast\ahn05i.txt"

oMSG.Send()
Yes, I used real email addresses and Outlook was open in the background when I ran it from Foxpro 5.0.
I am using Office 2000 on a Windows 2000 machine.
I get the following program error:
OLE IDispatch exception code 0 from CDO.Message.1: The "SendUsing" configuration value is invalid.
Do you have any ideas on why I get this error?
Had another person try it from VB 6 on a Win2k machine running Office 2000 also. He got the same error.
Would appreciate any suggestions you might have.
Pat McGreevy