Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Another CDO problem
Message
 
 
To
29/11/2004 08:44:46
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00965391
Message ID:
00965410
Views:
16
You've to specify at least that you're using SMTP and SMTP server address. There're some other configuration items you can specify.
oConf = createobject("cdo.configuration")
oFlds = oConf.Fields
With oFlds
    .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2  && cdoSendUsingPort
    .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = ;
    			"<SMTP server address>"
    .Update()
EndWith
...
With loMsg
   .Configuration = oConf
...
>>
>>
>I'm a begginer for CDO.. What do you meant by setup configuration info ? May I have to setup some stuff before ?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform