Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Sending Mail without MAPI
Message
 
À
24/05/2005 06:10:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01016997
Message ID:
01017099
Vues:
23
Great reccomendation - SendSmtpEmail.PRG is probably one of the most valuable downloads the community has access to. I wonder who wrote it. I keep thinking it was Rick, ER or David F..

CDO will extract the desktops SMTP server name and desktop mail address - SendSmtpEmail takes care of the rest - it should be there for most OS versions:
oCDO=CREATEOBJECT('CDO.Message')
xCFG=oCDO.Configuration
IF xCFG.Fields.Count>12
   ulCDOField13=xCFG.Fields(13).Value
   ulCDOField15=xCFG.Fields(15).Value
ELSE
   MESSAGEBOX([Outgoing email account is not installed.])
   ulCDOField13=[NoEmailAccount@YourComputer.com]
   ulCDOField15=[NOSMTPSERVERNAME]
ENDIF
>Alessio,
>
>Maybe this will help:
>
>http://fox.wikis.com/wc.dll?Wiki~SendSmtpEmail
>
>
>>Till now I've been using a MAPI based class to send email with VFP.
>>Now I'm asked to send them using SMPT.
>>I tried with some classes but i couldn't do it.
>>Anyone knows something about that ?
>>Is there any Free and simple control to use ?
>>
>>Thx
>>Alessio
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform