General information
Category:
Coding, syntax & commands
Title:
Getting Error Trying To Email using CDO is VFP
1. I am trying to create a email program in Visual Fox Pro using CDO. List below is my source code:
oMSG = CREATEOBJECT('cdo.message')
oMSG.To = 'annfoster@yahoo.com'
oMSG.From = 'robert@yahoo.com'
oMSG.Subject = 'Hello Email'
oMSG.TextBody = 'This is an easy way to create an email'
oMSG.Send()
2. This is the erro message I am getting: "OLE IDispatch exception code 0 from the CDO.Message.1:
The "SendUsing" configuration value is invalid.
3. How do I fix this issue? I think I need to change the value, but where do I change it at?
Thank You In Advance
Winfred Majors
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only