Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Another CDO problem
Message
 
 
À
29/11/2004 08:44:46
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00965391
Message ID:
00965410
Vues:
14
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform