Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sending Mail without MAPI
Message
 
To
24/05/2005 06:10:26
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01016997
Message ID:
01017099
Views:
22
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
Previous
Reply
Map
View

Click here to load this message in the networking platform