Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CDO - specifying account to send mail with
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
CDO - specifying account to send mail with
Divers
Thread ID:
00951753
Message ID:
00951753
Vues:
54
I am working with CDO to send messages in my VFP 9 app. The program works fine, except it is using my default Outlook Express mail account to send with. I would like to change this value programmatically and, more to the point, would like to have a drop-down list in a VFP form that would allow the user to select which account to use when sending mail. I haven't found much in the way of helpful documentation on the CDO object model and am hoping to be led in the right direction here.

I have gotten as far as needing a configuration object -
oConfig = createobject("CDO.Configuration")
and can see that field 12 (sendusing), 13 (accountname), and 15 (server) could be useful, but I don't see any way to see how to access the information it is using to produce a list that would show all the preconfigured options...or do I just have to blatantly fill in the fields and pray that the user types in the servername correctly?


Anyone know the answer to this (and also where I might find other answers easily in reference to CDO)?

As always, thanks in advance!
Steve Howie, owner
DaSH Technology
Denver, CO
Répondre
Fil
Voir

Click here to load this message in the networking platform