Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting Error Trying To Email using CDO is VFP
Message
From
17/06/2010 10:20:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Getting Error Trying To Email using CDO is VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01469413
Message ID:
01469413
Views:
138
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
Map
View

Click here to load this message in the networking platform